Building Apple GCC with GDC
David Friedman
dvdfrdmn at users.ess-eff.net
Mon Dec 11 03:20:07 PST 2006
Anders F Björklund wrote:
> David Friedman wrote:
>
>> I have only done Universal builds with gcc-5341 on MacOS Intel. The
>> build environment on my G5 seems to be messed up so that I can't make
>> i386 executables. gcc-5363 fails on x86_64 stuff. Hopefully,
>> installing Xcode 2.4.1 will fix these problems (downloading now).
>
> Thanks for the build info, will try it again on the Intel Mac...
>
>> The setup-gcc.sh script will add 'd' to --enable-languages. If you
>> did this manually, the rest of the patching of build_gcc may have
>> failed... There is a bug in that lets this patch fail, but still says
>> "GDC setup complete."
>
> Hmm, wonder if I did do that for the Apple build as well as FSF ?
>
>> If you still get errors, please send me a log.
>
> Will do, and I will contribute my gdcmac/gdcwin packaging scripts.
> Basically it's the same, just wrapped with PackageMaker / NSIS...
>
> --anders
I have found that the patch and method described at
http://gcc.gnu.org/ml/gcc-patches/2006-09/msg00997.html
allows building on PowerPC. The resulting compiler will depend on SDK
(unless overridden by -isysroot.)
Also, I was able to build with gcc-5363 after installing the latest
Xcode (only tried it on Intel.)
David
More information about the D.gnu
mailing list