Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
- Subject: Re: Building a library using as universal for 10.3.9 ppc from an Intel build box
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 20 Jul 2006 13:22:28 -0600
On Jul 20, 2006, at 1:12 PM, Brant Sears wrote:
To answer this: Specifying an SDK is pretty much meaningless for
compiling this particular library because it does not use any Mac
specific calls. It is C++ code that uses only BSD APIs.
Actually, the SDK also includes the stubs for BSD libraries in
addition to the system frameworks, so it does have meaning if you're
trying to target Panther. And there's an easier way of doing what
you're doing that doesn't involve build scripts and works on Intel
Macs. Just set the following settings in your target:
SDKROOT_ppc = /Developer/SDKs/MacOSX10.3.9.sdk
SDKROOT_i386 = /Developer/SDKs/MacOSX10.4u.sdk
GCC_VERSION_ppc = 3.3
GCC_VERSION_i386 = 4.0
Then set the architectures to PPC and Intel. The PPC version will
then be built using GCC 3.3 and the 10.3.9 SDK. The Intel version
will be built using GCC 4.0 and the 10.4u SDK. This is assuming
you're using Xcode 2.2 or later.
Nick Zitzmann
<http://seiryu.home.comcast.net/>
S/MIME signature available upon request
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden