Re: X-compling on intel for 10.3 PPC
Re: X-compling on intel for 10.3 PPC
- Subject: Re: X-compling on intel for 10.3 PPC
- From: Rob McKeever <email@hidden>
- Date: Wed, 14 Feb 2007 09:58:27 -0800
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.
-Rob
--
Rob McKeever, email@hidden
Developer Technical Support, CoreOS/Hardware
Apple Computer
On Feb 13, 2007, at 6:49 PM, Conrad G T Yoder wrote:
I am trying to create a UB which will run on 10.3 PPC, and 10.4
everywhere,
but I am running into some snags. My situation:
Build machine: i386 iMac, OS X 10.4.8, running Xcode 2.3 (gcc 4.0.1
build
5341).
I am using makefiles, building each architecture independently, and
then
combining libs and executables using lipo. Everything was complete
and
working, building only for 10.4. Then I got the requirement that
the PPC
binary needed to work with 10.3.9. I added "-isysroot
/Developer/SDKs/MacOSX10.3.9.sdk" to my makefiles for object code
creation.
Everything built fine, but when running the UB on PPC 10.3.9, I get
the
runtime error:
dyld: ./CPSI Undefined symbols:
./MyApp undefined reference to ___cxa_atexit expected to be defined in
/usr/lib/libSystem.B.dylib
So, I went back to add "-syslibroot /Developer/SDKs/
MacOSX10.3.9.sdk" to the
link (ld) lines, but now on one of my .dylibs I am building, I am
getting an
error of ___cxa_atexit being undefined. What am I missing here?
Thanks for
any assistance.
-Conrad
--
Mellowfields
Top security holiday camps
Luxury without fear
Fun without suspicion
Relax in a panic-free atmosphere
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden