Re: -arch ppc works on Xcode 3.x, but not on 2.5.
Re: -arch ppc works on Xcode 3.x, but not on 2.5.
- Subject: Re: -arch ppc works on Xcode 3.x, but not on 2.5.
- From: Jonas Maebe <email@hidden>
- Date: Wed, 21 Jan 2009 10:33:20 +0100
On 21 Jan 2009, at 02:20, David Springer wrote:
Well, my experiments with -syslibroot failed. I compile the
external libs
on a 10.5/Xc3.1 system with these switches:
g++-4.0 -pipe -c -arch i386 -arch ppc -isysroot
/Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -Wall
-Wno-non-virtual-dtor -fno-strict-aliasing -Os -fno-default-inline
-fno-exceptions -o blah.o blah.cpp
and yet, I get the ppc7400 arch in my final lib. These libs are
built with
makefiles, not Xcode, so I guess I am missing some magical
incantation that
causes the "real" 10.4 SDK to be used during compile/link?
Searching the
archives isn't helping a great deal...
You can try adding the -v parameter, then gcc will print out the
parameters it passes to the assembler and linker.
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden