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 autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.54.73 with SMTP id p9mr30554804qag.1.1374369586392; Sat, 20 Jul 2013 18:19:46 -0700 (PDT) X-Received: by 10.50.4.99 with SMTP id j3mr2052686igj.6.1374369586229; Sat, 20 Jul 2013 18:19:46 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!usenet-fr.net!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!nx02.iad01.newshosting.com!newshosting.com!69.16.185.16.MISMATCH!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!f1no244802qae.0!news-out.google.com!dk8ni860qab.0!nntp.google.com!f1no244790qae.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 20 Jul 2013 18:19:45 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=108.68.98.119; posting-account=1YPeQwoAAACAk-xhKPD32B0GIDdsFFtk NNTP-Posting-Host: 108.68.98.119 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: GCC 4.8.1 for Mac OS X From: Michael Rohan Injection-Date: Sun, 21 Jul 2013 01:19:46 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Received-Bytes: 3514 Xref: news.eternal-september.org comp.lang.ada:16452 Date: 2013-07-20T18:19:45-07:00 List-Id: On Saturday, July 20, 2013 6:06:16 PM UTC-7, Bill Findlay wrote: > On 21/07/2013 01:59, in article > > a944c0c4-cff4-4318-9b73-ecd208967b99@googlegroups.com, "Michael Rohan" > > wrote: > > > > > > > Not sure if this is simply a setup issue on my MacBook (this is the first Mac > > > system I've worked on) but when I try to build an application I run into a > > > linker issue: > > > > > > $ make > > > gnatmake -p -XOS=unix -XTYPE=static -XBUILD=Debug -aP../../lib/gnat > > > -aP../../src -P zbmcompile > > > gnatbind -x /Users/mrohan/zb/zanyblue/src/obj/zbmcompile-main.ali > > > gnatlink /Users/mrohan/zb/zanyblue/src/obj/zbmcompile-main.ali -g > > > /Users/mrohan/zb/zanyblue/lib/zanyblue/libzanyblue.a > > > -Wl,-rpath,/opt/gcc-4.8.1/lib/gcc/x86_64-apple-darwin12/4.8.1/adalib/ -o > > > /Users/mrohan/zb/zanyblue/bin/zbmcompile > > > ld: unknown option: -R > > > collect2: error: ld returned 1 exit status > > > gnatlink: error when calling /opt/gcc-4.8.1/bin/gcc > > > gnatmake: *** link failed. > > > make: *** [all] Error 4 > > > > I had a similar problem with GNAT GPL 2102. You need to install the latest > > Xcode 4.4, but that does not install by default the command line tools > > /usr/bin{as, ld, make} needed by GNAT. It is necessary to invoke: > > > > Xcode > Preferences... > Downloads > Command Line Tools: Install > > > > It's about a 115MB download. > > > > Once completed, GNAT GPL 2102 was restored to sanity, so that might be what > > you need with GCC 4.8.1 > > > > -- > > Bill Findlay > > with blueyonder.co.uk; > > use surname & forename; Hi, Thank you for the feedback. I did install Xcode, the latest version (4.6.2) which might be the problem. I do have /usr/bin/ld, /usr/bin/as and /usr/bin/make. Both as and make report themselves as GNU: $ /usr/bin/as -v Apple Inc version cctools-839, GNU assembler version 1.38 ^CInterrupted by signal 2 $ /usr/bin/make -v GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for i386-apple-darwin11.3.0 Take care, Michael.