[Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
[Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
- Subject: [Q] Is the 10.4u SDK distributed for the Intel Mac and the PPC Mac different?
- From: JongAm Park <email@hidden>
- Date: Fri, 27 Jun 2008 22:31:52 -0700
Hello.
I tried compiling the postgreSQL library. As I desribed in my
previous post, on Intel Mac, there are some problems like "_fnctl
$UNIX2003 can't be found.". I tried investigating the library file
using the nm. But they are reference like _fnctl without $UNIX2003.
So, I tried compiling universal library, especially the i386 part, on
my iMac 17" PPC (Sunflower model.)
I found some interesting things.
An intel binary built on an Intel Mac is 420KB, while the same intel
binary built on a PPC Mac is 392KB.
The build command is the same on both.
export CFLAGS="-O -g -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch
i386 -mmacosx-version-min=10.4"
export LDFLAGS="-arch i386"
sudo ./configure --prefix=/opt/local --disable-dependency-tracking.
I couldn't provide it with -arch ppc -arch i386 at the same time.
Then erros will be thrown while compilation.
So, I tried buiding the separately and will combine them using lipo.
Is there any difference between the same 10.4u SDK? (Actually I think
I heard it before from somewhere... )
Thank you.
_______________________________________________
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