OSXHorrors » History » Version 5

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

1 1 Chris Cannam
h1. OS/X version, hardware platform, and Qt version compatibility
2 1 Chris Cannam
3 4 Chris Cannam
Executive summary: For a program like EasyHg that demands the widest possible compatibility, we currently want to build for 10.4 PPC and Intel 32-bit, 10.5 Intel 32-bit, 10.6 Intel 32- and 64-bit.  We can't get away with proposing EasyHg for a project if even one project member can't use it.
4 2 Chris Cannam
5 2 Chris Cannam
To do this, we need at least two builds of Qt: a Carbon build for PPC and i386 on 10.4 using gcc-4.0, and a Cocoa build for x86_64 (and optionally i386) on 10.5+.
6 2 Chris Cannam
7 5 Chris Cannam
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.
8 1 Chris Cannam
9 5 Chris Cannam
h2. OS/X 10.6
10 5 Chris Cannam
11 1 Chris Cannam
h3. As target
12 1 Chris Cannam
13 5 Chris Cannam
* By far the most common version as of Feb 2011
14 5 Chris Cannam
* Not supported on PPC
15 5 Chris Cannam
* Runs in 64-bit mode by default where possible
16 5 Chris Cannam
* Is _not_ always 64-bit -- it is supported on 32-bit-only hardware such as Core Duo (first Intel Macs)
17 1 Chris Cannam
18 1 Chris Cannam
h3. As build host
19 1 Chris Cannam
20 5 Chris Cannam
* Builds 64-bit by default
21 5 Chris Cannam
* Can be used to do 32-bit Intel and PPC builds
22 1 Chris Cannam
23 1 Chris Cannam
h2. OS/X 10.5
24 1 Chris Cannam
25 1 Chris Cannam
h3. As target
26 1 Chris Cannam
27 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
28 1 Chris Cannam
* Last version supported for PPC platforms
29 1 Chris Cannam
* Runs in 32-bit mode by default
30 1 Chris Cannam
* Can build for it from 10.5, 10.6
31 1 Chris Cannam
* Requires SDK @/Developer/SDKs/MacOSX10.5.SDK@
32 1 Chris Cannam
* First version to support Objective-C 2.0
33 1 Chris Cannam
* Qt Cocoa supported
34 1 Chris Cannam
35 1 Chris Cannam
h3. As build host
36 1 Chris Cannam
37 1 Chris Cannam
* Builds 32-bit by default
38 1 Chris Cannam
* Can be used to do 64-bit builds
39 1 Chris Cannam
40 5 Chris Cannam
h2. OS/X 10.4
41 1 Chris Cannam
42 1 Chris Cannam
h3. As target
43 1 Chris Cannam
44 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
45 5 Chris Cannam
* Appears in PPC and i386 systems
46 5 Chris Cannam
* Runs in 32-bit mode only
47 5 Chris Cannam
* Can build for it from 10.4, 10.5, 10.6
48 5 Chris Cannam
* Requires SDK @/Developer/SDKs/MacOSX10.4u.SDK@
49 5 Chris Cannam
* Requires @-mmacosx-version-min=10.4@ on 10.5+
50 5 Chris Cannam
* Requires gcc-4.0 to be requested explicitly on 10.6
51 5 Chris Cannam
* Does not support Objective-C 2.0
52 5 Chris Cannam
* Not a supported target for Qt's Cocoa builds, Qt Carbon needed
53 2 Chris Cannam
54 2 Chris Cannam
h3. As build host
55 2 Chris Cannam
56 5 Chris Cannam
* Does not support Objective-C 2.0
57 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