From: Bill Findlay <yaldnif.w@blueyonder.co.uk>
Subject: Re: GCC 4.8.1 for Mac OS X
Date: Sun, 21 Jul 2013 02:06:16 +0100
Date: 2013-07-21T02:06:16+01:00 [thread overview]
Message-ID: <CE10F298.32E77%yaldnif.w@blueyonder.co.uk> (raw)
In-Reply-To: a944c0c4-cff4-4318-9b73-ecd208967b99@googlegroups.com
On 21/07/2013 01:59, in article
a944c0c4-cff4-4318-9b73-ecd208967b99@googlegroups.com, "Michael Rohan"
<michael@zanyblue.com> 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;
next prev parent reply other threads:[~2013-07-21 1:06 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-07 18:37 GCC 4.8.1 for Mac OS X Simon Wright
2013-07-07 22:02 ` Bill Findlay
2013-07-08 7:25 ` Simon Wright
2013-07-08 17:57 ` Bill Findlay
2013-07-08 20:06 ` Felix Krause
2013-07-08 22:37 ` Simon Wright
2013-07-09 15:31 ` Felix Krause
2013-07-09 19:35 ` Simon Wright
2013-07-17 19:57 ` Felix Krause
2013-07-17 21:00 ` Simon Wright
2013-07-18 20:23 ` Simon Wright
2013-07-21 0:59 ` Michael Rohan
2013-07-21 1:06 ` Bill Findlay [this message]
2013-07-21 1:19 ` Michael Rohan
2013-07-21 3:57 ` Dennis Lee Bieber
2013-07-21 11:55 ` Simon Wright
2013-07-21 18:01 ` Michael Rohan
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox