Re: Building fat Darwin gcc
Re: Building fat Darwin gcc
- Subject: Re: Building fat Darwin gcc
- From: Markus Hitter <email@hidden>
- Date: Sat, 12 Nov 2005 22:55:06 +0100
Am 12.11.2005 um 21:01 schrieb Bill Northcott:
On 13/11/2005, at 3:22 AM, Shawn Erickson wrote:
Humm I thought the above URL used to work but it is not for me
now, so try...
<http://opendarwin.org/projects/darwinbuild/>
Thanks for that. It has a lot of useful stuff.
However, I am not trying to build the whole of Darwin but only the
gcc-4 compiler.
Which is exactly what darwinbuild would attemt to do for you.
when I try to build compilers for i386 hosts or targets, I have
problems because the system libraries on my computer are ppc only.
This is why darwinbuild would download or build all the prerequisites
you need to be successful. You'd want to init darwinbuild with 8F46
or 8F46od1.
The MacOSX10.4u.sdk contains a complete set of fat libraries. Is
it possible to use these ...
Maybe, yes. My knowledge base ( ;-) ) gives me this snippet to build
for older Mac OS Xs on Tiger:
export MACOSX_DEPLOYMENT_TARGET=10.2
CFLAGS='-O2 -isysroot /Developer/SDKs/MacOSX10.2.8.sdk' \
LDFLAGS='-Wl,-syslibroot,/Developer/SDKs/MacOSX10.2.8.sdk' \
./configure --disable-nls --prefix=/usr/global
Hope that's helpful for future Mac OS Xs as well. Leech into Xcode's
build transscript when building a Universal app to find out further
details.
... without needing to construct the full Darwin build system?
It isn't that bad. The build system it's self is a flat bunch of
about 10 binaries and 15 plugins, only. It appears to work so well
because it tries to match Apple's internal build system.
Everything else needed will be constructed automatically, trying to
use as few bandwidth as possible.
Have fun,
Markus
- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/
_______________________________________________
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