site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcdP4sbOBYOdm7vWEduyIgARJHiCXA== Thread-topic: X-compling on intel for 10.3 PPC User-agent: Microsoft-Entourage/11.3.3.061214 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 (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