From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,8a7baeac016c47c4,start X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!l64g2000hse.googlegroups.com!not-for-mail From: xorquewasp@googlemail.com Newsgroups: comp.lang.ada Subject: Anybody producing universal binaries with GNAT on OS X? Date: Fri, 16 May 2008 07:37:47 -0700 (PDT) Organization: http://groups.google.com Message-ID: NNTP-Posting-Host: 81.86.41.187 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1210948667 28172 127.0.0.1 (16 May 2008 14:37:47 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 16 May 2008 14:37:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: l64g2000hse.googlegroups.com; posting-host=81.86.41.187; posting-account=D9GNUgoAAAAmg7CCIh9FhKHNAJmHypsp User-Agent: G2/1.0 X-HTTP-UserAgent: gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:103 Date: 2008-05-16T07:37:47-07:00 List-Id: 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