Re: XCode & Universal Binaries
Re: XCode & Universal Binaries
- Subject: Re: XCode & Universal Binaries
- From: Fritz Anderson <email@hidden>
- Date: Thu, 7 Jun 2007 10:00:06 -0500
On 7 Jun 2007, at 5:12 AM, Barry wrote:
More Info - does this warning indicate something ?
! Linking /Users/barry/ImageApp4/build/Deployment/ImageAppTest.app/
Contents/MacOS/ImageAppTest (1 warning)
warning -prebind ignored because MACOSX_DEPLOYMENT_TARGET
environment variable greater or equal to 10.4
It has nothing to do with any problems you've reported.
Prebinding was a workaround for a performance bug in the dynamic
(runtime) loader for 10.3.3 and earlier. Dyld for the early versions
of Mac OS X was not efficient in parceling out memory for dynamic
libraries and then patching references to the relocated functions.
Prebinding surveyed all the executable code (intrinsic and
dynamically-loaded) and pre-selected load addresses, at compile time,
so relocation and patching would not be necessary at run time. It
saved a lot of time in launching applications.
Apple's engineers ran Shark on dyld and found the performance
bottleneck, and cut the time spent in relocation to within a few
percent of the prebound time. As prebinding is slightly accident-
prone for developers, and a pain to redo for a whole system whenever
a system library changes ("Optimizing system performance"), the
practice is obsolete.
The warning is there to let you know that the -prebind switch is
obsolete/ignored, and you can remove it from your build. It doesn't
say anything substantive about the build product.
— F
_______________________________________________
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