comp.lang.ada
 help / color / mirror / Atom feed
From: xorquewasp@googlemail.com
Subject: Anybody producing universal binaries with GNAT on OS X?
Date: Fri, 16 May 2008 07:37:47 -0700 (PDT)
Date: 2008-05-16T07:37:47-07:00	[thread overview]
Message-ID: <c1e7dea8-248e-45de-912d-8772bfda1259@l64g2000hse.googlegroups.com> (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



                 reply	other threads:[~2008-05-16 14:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
replies disabled

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