OSXHorrors » History » Version 11

Chris Cannam, 2011-02-28 05:14 PM

1 1 Chris Cannam
h1. OS/X version, hardware platform, and Qt version compatibility
2 1 Chris Cannam
3 6 Chris Cannam
*Executive summary:* For a program like EasyHg that demands the widest possible compatibility, we currently want to hit the following targets:
4 6 Chris Cannam
5 6 Chris Cannam
* 10.4 PPC 32-bit Carbon
6 6 Chris Cannam
* 10.4 Intel 32-bit Carbon
7 6 Chris Cannam
* 10.6 Intel 64-bit Cocoa
8 1 Chris Cannam
9 8 Chris Cannam
To do this, we currently need at least two builds of Qt:
10 8 Chris Cannam
11 9 Chris Cannam
* 10.5 or 10.6 gcc-4.2 Cocoa x86_64 and optionally i386
12 8 Chris Cannam
* 10.4 gcc-4.0 Carbon PPC and i386
13 1 Chris Cannam
14 9 Chris Cannam
This currently means the Qt 4.7.1 default distribution plus a separate Carbon build will do.
15 9 Chris Cannam
16 9 Chris Cannam
Note it is not possible to cover all platforms in a single build step, we always need to do at least two separate builds plus lipo.
17 1 Chris Cannam
18 5 Chris Cannam
h2. OS/X 10.6
19 5 Chris Cannam
20 1 Chris Cannam
h3. As target
21 1 Chris Cannam
22 11 Chris Cannam
* By far the most common version as of Feb 2011 (apparently >80%)
23 5 Chris Cannam
* Not supported on PPC
24 5 Chris Cannam
* Runs in 64-bit mode by default where possible
25 10 Chris Cannam
* Note Python is also 64-bit by default, so PyQt needs to be as well
26 5 Chris Cannam
* Is _not_ always 64-bit -- it is supported on 32-bit-only hardware such as Core Duo (first Intel Macs)
27 1 Chris Cannam
28 1 Chris Cannam
h3. As build host
29 1 Chris Cannam
30 5 Chris Cannam
* Builds 64-bit by default
31 5 Chris Cannam
* Can be used to do 32-bit Intel and PPC builds
32 1 Chris Cannam
33 1 Chris Cannam
h2. OS/X 10.5
34 1 Chris Cannam
35 1 Chris Cannam
h3. As target
36 1 Chris Cannam
37 2 Chris Cannam
* Not all that much more widely used than 10.4 -- if we were dropping 10.4, we probably might as well drop 10.5 as well
38 1 Chris Cannam
* Last version supported for PPC platforms
39 1 Chris Cannam
* Runs in 32-bit mode by default
40 1 Chris Cannam
* Can build for it from 10.5, 10.6
41 1 Chris Cannam
* Requires SDK @/Developer/SDKs/MacOSX10.5.SDK@
42 1 Chris Cannam
* First version to support Objective-C 2.0
43 1 Chris Cannam
* Qt Cocoa supported
44 1 Chris Cannam
45 1 Chris Cannam
h3. As build host
46 1 Chris Cannam
47 1 Chris Cannam
* Builds 32-bit by default
48 1 Chris Cannam
* Can be used to do 64-bit builds
49 1 Chris Cannam
50 5 Chris Cannam
h2. OS/X 10.4
51 1 Chris Cannam
52 1 Chris Cannam
h3. As target
53 1 Chris Cannam
54 5 Chris Cannam
* Oldest version still apparently in use as of Feb 2011: not very widespread (low single digit %age of Mac users), but at least two researchers here use it
55 5 Chris Cannam
* Appears in PPC and i386 systems
56 5 Chris Cannam
* Runs in 32-bit mode only
57 5 Chris Cannam
* Can build for it from 10.4, 10.5, 10.6
58 5 Chris Cannam
* Requires SDK @/Developer/SDKs/MacOSX10.4u.SDK@
59 5 Chris Cannam
* Requires @-mmacosx-version-min=10.4@ on 10.5+
60 5 Chris Cannam
* Requires gcc-4.0 to be requested explicitly on 10.6
61 5 Chris Cannam
* Does not support Objective-C 2.0
62 5 Chris Cannam
* Not a supported target for Qt's Cocoa builds, Qt Carbon needed
63 2 Chris Cannam
64 2 Chris Cannam
h3. As build host
65 2 Chris Cannam
66 5 Chris Cannam
* Does not support Objective-C 2.0
67 5 Chris Cannam
* 10.4u SDK can be used to build 64-bit executables of simple C/C++ programs such as plugins, but not of GUIs or anything using Core frameworks