comp.lang.ada
 help / color / mirror / Atom feed
* Anybody producing universal binaries with GNAT on OS X?
@ 2008-05-16 14:37 xorquewasp
  0 siblings, 0 replies; only message in thread
From: xorquewasp @ 2008-05-16 14:37 UTC (permalink / raw)


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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-05-16 14:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-16 14:37 Anybody producing universal binaries with GNAT on OS X? xorquewasp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox