Hello.
I realise this may not be an entirely appropriate place to ask (the
focus
is on Ada, not specific platforms, obviously) but is anybody building
universal binaries on Mac OS X with any of the pre-built compilers
available (macada.org, etc)?
It seems as if I'm going to have to compile gcc manually as a
cross compiler as all -arch options appear to be ignored:
$ which gcc
/usr/local/ada-4.2/bin/gcc
$ gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8.6.0
Configured with: /Users/drew/Developer/Compiler/gcc-head/configure --
prefix=/usr/local/ada-4.2 --disable-libssp --disable-libgomp --enable-
languages=c,ada
Thread model: posix
gcc version 4.2.0 20060429 (experimental)
$ gcc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c -o t.o
t.adb
$ file t.o
t.o: Mach-O object ppc