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: Jeff Johnson <email@hidden>
- Date: Tue, 20 Jan 2009 19:48:37 -0600
Dave,
I've run into this problem before, and I failed to discover the
magical incantation, unfortunately. My lame but effective workaround
was to compile the library on a Tiger machine.
-Jeff
On Jan 20, 2009, at 7:20 PM, 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...
Any advice?
Thanks!
- Dave.S
_______________________________________________
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