Re: Building fat Darwin gcc
Re: Building fat Darwin gcc
- Subject: Re: Building fat Darwin gcc
- From: Eric Albert <email@hidden>
- Date: Sat, 12 Nov 2005 12:44:20 -0800
On Nov 11, 2005, at 11:18 PM, Bill Northcott wrote:
I notice that the gcc-4.0 binaries supplied with Xcode 2.2 are fat
(i386,ppc)
However, if I try to build Apple's gcc from sources on a G5 I only get
ppc binaries.
Does anyone know the secret to building fat binaries of gcc?
Presumably we need HOSTS='ppc i386' added somewhere and also some
option like '--with-sysroot=/Developer/SDKs/MacOSX10.4u.sdk' somewhere
else. Are there clues or even instructions anywhere?
gcc doesn't use SDKs. We have fully universal versions of the OS
internally, and with those gcc can just build with the regular system
libraries. You can get a fully universal version of the OS as part of
the Developer Transition Kit.
Of course, you can build a version of gcc which targets i386 without
having universal system libraries. It'd be built for PPC, though.
-Eric
_______________________________________________
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