Re: X-compling on intel for 10.3 PPC
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcdUmHixtwJ1mMCLEduMwQARJHiCXA== Thread-topic: X-compling on intel for 10.3 PPC User-agent: Microsoft-Entourage/11.3.3.061214 At 2/14/07 12:58 PM -0500, Rob McKeever <rmckeever@apple.com> wrote:
You might find TechNote 2163 "Building Universal I\/O Kit Drivers" helpful:
<http://developer.apple.com/technotes/tn2006/tn2163.html>
While I realize you're not building a kext, the steps to do this from inside Xcode are the same. If you're trying to do this from MAkefiles, you should be able to use Xcode to help you see what you should be doing for each of the steps.
For any who are interested, I found the solution, which is a workaround for an apparent bug in Xcode 2.3 (gcc 4.0.1 build 5341). Not sure if this bug exists in more recent releases. gcc is generating calls to cxa_atexit (which exists only in 10.4 system libs) in C++ code, in spite of the switch '-mmacosx-version-min=10.3' being used. Thanks be to google, I tried the super-ultra-nsa-grade-secret gcc switch '-fno-use-cxa-atexit', and that did the trick. Anyone know offhand if this is fixed in later gcc releases? -Conrad -- Liberty, Equality, Fraternity, Information. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com smime.p7s
participants (1)
-
Conrad G T Yoder