[FAQ] Compiling for Panther and Tiger/Intel
[FAQ] Compiling for Panther and Tiger/Intel
- Subject: [FAQ] Compiling for Panther and Tiger/Intel
- From: mmalcolm crawford <email@hidden>
- Date: Wed, 8 Feb 2006 00:09:28 -0800
This helpful post seems to cover the essentials for compiling
applications for Panther and Tiger/Intel. Further questions should
be directed to the Xcode list (<http://lists.apple.com/mailman/
listinfo/xcode-users>).
mmalc
From: cde @ apple
Subject: Re: building for panther & intel
Date: January 19, 2006 9:31:54 PM PST
To: email@hidden
[...]
You might want to read the Universal Binary Programming Guide, 2nd
Edition, which covers this in some detail.
<http://developer.apple.com/documentation/MacOSX/Conceptual/
universal_binary/index.html#//apple_ref/doc/uid/TP40002217>
In short:
• You must use gcc 4.0 to build for Intel.
• You must use the 10.4u SDK, at least on the Intel side, in order to
target Intel.
• gcc 4.0/10.4u SDK-built targets will indeed run on 10.3.9 (but not
earlier) if you set the "Mac OS X Deployment Target" to 10.3
• You can use gcc 3.3 for your PPC side of your Universal build, by
creating a "GCC_VERSION_ppc" build setting and setting its value to
3.3 and this will let you target Mac OS 10.3.8 and earlier
• You can use the 10.3.9 SDK similarly, by creating an SDKROOT_ppc
build setting and setting it to /Developer/SDKs/MacOSX10.3.9.sdk
See the Universal Binary Programming Guidelines and the Cross-
Development Guide for complete documentation.
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/
cross_development/>
Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden