site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Comrades, This is the compiler command from the makefile: Anybody have any idea? _______________________________________________ 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... Does anyone know how to show the default options that are passed to gcc/g++? I am building a universal binary, and I get slightly different output depending on whether I build it on my PPC Powerbook or this IntelMini loaner. I am really close, The Intel build works on the IntelMini and the PPC, but the PPC build only works on the PPC. I want the PPC build to be portable, too. $(TARGET): $(OBJECTS) g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk - o $@ -dynamiclib -install_name $(DESTDIR)/$@ $^ strip -x $@ %.o: %.cpp g++ -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk - c -O2 -o $@ $^ -I /System/Library/Frameworks/JavaVM.framework/Headers I think the fix is to add something to the options list that will force both compilers (Intel and PPC) to generate exactly the same output. I just don't know what that something is. This email sent to site_archiver@lists.apple.com