OSXHorrors » History » Version 5

Version 4 (Chris Cannam, 2011-02-28 05:03 PM) → Version 5/29 (Chris Cannam, 2011-02-28 05:04 PM)

h1. OS/X version, hardware platform, and Qt version compatibility

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.

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+.

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.

h2. OS/X 10.6 10.4

h3. As target

* By far the most common Oldest version still apparently in use as of Feb 2011 2011: not very widespread (low single digit %age of Mac users), but at least two researchers here use it
* Not supported on Appears in PPC and i386 systems
* Runs in 64-bit 32-bit mode by default where possible only
* Is _not_ always 64-bit -- Can build for it is from 10.4, 10.5, 10.6
* Requires SDK @/Developer/SDKs/MacOSX10.4u.SDK@
* Requires @-mmacosx-version-min=10.4@ on 10.5+
* Requires gcc-4.0 to be requested explicitly on 10.6
* Does not support Objective-C 2.0
* Not a
supported on 32-bit-only hardware such as Core Duo (first Intel Macs) target for Qt's Cocoa builds, Qt Carbon needed

h3. As build host

* Builds 64-bit by default Does not support Objective-C 2.0
* Can 10.4u SDK can be used to do 32-bit Intel and PPC builds build 64-bit executables of simple C/C++ programs such as plugins, but not of GUIs or anything using Core frameworks

h2. OS/X 10.5

h3. As target

* 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
* Last version supported for PPC platforms
* Runs in 32-bit mode by default
* Can build for it from 10.5, 10.6
* Requires SDK @/Developer/SDKs/MacOSX10.5.SDK@
* First version to support Objective-C 2.0
* Qt Cocoa supported

h3. As build host

* Builds 32-bit by default
* Can be used to do 64-bit builds

h2. OS/X 10.4 10.6

h3. As target

* Oldest By far the most common 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 2011
* Appears in Not supported on PPC and i386 systems
* Runs in 32-bit 64-bit mode only by default where possible
* Can build for Is _not_ always 64-bit -- it from 10.4, 10.5, 10.6
* Requires SDK @/Developer/SDKs/MacOSX10.4u.SDK@
* Requires @-mmacosx-version-min=10.4@
is supported on 10.5+
* Requires gcc-4.0 to be requested explicitly on 10.6
* Does not support Objective-C 2.0
* Not a supported target for Qt's Cocoa builds, Qt Carbon needed
32-bit-only hardware such as Core Duo (first Intel Macs)

h3. As build host

* Does not support Objective-C 2.0 Builds 64-bit by default
* 10.4u SDK can 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
do 32-bit Intel and PPC builds