From: Michael Rohan <michael@zanyblue.com>
Subject: Re: GCC 4.8.1 for Mac OS X
Date: Sat, 20 Jul 2013 18:19:45 -0700 (PDT)
Date: 2013-07-20T18:19:45-07:00 [thread overview]
Message-ID: <b7a2a5cf-f1ca-4bde-bbb1-94a69141fe2f@googlegroups.com> (raw)
In-Reply-To: <CE10F298.32E77%yaldnif.w@blueyonder.co.uk>
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"
>
> <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;
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.
next prev parent reply other threads:[~2013-07-21 1:19 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
2013-07-21 1:19 ` Michael Rohan [this message]
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