site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com <http://developer.apple.com/technotes/tn2006/tn2163.html> -Rob -- Rob McKeever, rmckeever@apple.com Developer Technical Support, CoreOS/Hardware Apple Computer On Feb 13, 2007, at 6:49 PM, Conrad G T Yoder wrote: dyld: ./CPSI Undefined symbols: ./MyApp undefined reference to ___cxa_atexit expected to be defined in /usr/lib/libSystem.B.dylib -Conrad _______________________________________________ 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... You might find TechNote 2163 "Building Universal I\/O Kit Drivers" helpful: 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. 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: 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. -- 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/rmckeever% 40apple.com This email sent to rmckeever@apple.com This email sent to site_archiver@lists.apple.com