Re: Universal Binary that runs on 10.3.x and up on PPC and 10.4.1 and up on Intel
Re: Universal Binary that runs on 10.3.x and up on PPC and 10.4.1 and up on Intel
- Subject: Re: Universal Binary that runs on 10.3.x and up on PPC and 10.4.1 and up on Intel
- From: Chris Espinosa <email@hidden>
- Date: Sat, 16 Jul 2005 09:11:01 -0700
On Jul 15, 2005, at 11:13 PM, Kirk A. Baker wrote:
I have a fairly large project that I currently have building in Xcode
2.1 as a Universal Binary. I have the Cross-Develop Using Target SDK:
set to Mac OS X 10.4 (Universal) and the Mac OS X Deployment Target
set to 10.3.
I use features in 10.4 like Spotlight when running on 10.4.x and I
disable those features at runtime when running on anything less than
10.4 by testing for the existence of specific entry points.
I used otool -L on my executable and I see that it is still linking
against the dynamic version of libstdc++ which does not exist on
systems before 10.3.9. I need to support all versions of 10.3.
Is it possible to create a single project and single target
(application) that links with the dynamic libstdc++ for the Intel half
of the Universal Binary and also links with the static libstdc++ for
the PPC half of the Universal Binary? If so, how? If not, what are
my alternatives?
We recommend that all users of Mac OS X 10.3 perform the Software
Update to 10.3.9. By the time the Intel machines come out, we expect
that a large number of users will have already moved to Tiger, and any
remaining on 10.3 will have had adequate opportunity to take advantage
of the performance, stability, and security fixes in 10.3.9. We don't
plan to make libstdc++ available for any version of 10.3 other than the
most current, which is 10.3.9.
At this point you could:
- build your app with gcc 3.3 until the Intel OS ships, then release
your gcc4-based code
- structure your project to build the PPC side with 3.3 and the Intel
side with 4.0
(an example is on my iDisk public folder -- cdespinosa -- in the
folder SDKExample)
Chris
_______________________________________________
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