Talk About Network

Google





Programming > Ada > Anybody produci...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 5703 of 6006
Post > Topic >>

Anybody producing universal binaries with GNAT on OS X?

by xorquewasp@[EMAIL PROTECTED] May 16, 2008 at 07:37 AM

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
 




 1 Posts in Topic:
Anybody producing universal binaries with GNAT on OS X?
xorquewasp@[EMAIL PROTECT  2008-05-16 07:37:47 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 11:57:17 PST 2009.