comp.lang.ada
 help / color / mirror / Atom feed
From: vincent.diemunsch@gmail.com
Subject: Re: problems with gnat on yosemite macox
Date: Sun, 19 Oct 2014 13:37:12 -0700 (PDT)
Date: 2014-10-19T13:37:12-07:00	[thread overview]
Message-ID: <1d4c8dfa-0825-46d2-9df8-59c42ba22fa1@googlegroups.com> (raw)
In-Reply-To: <lyppdob1vi.fsf@pushface.org>

On Sunday, October 19, 2014 3:55:15 PM UTC+2, Simon Wright wrote:
> Leo Brewin writes:
> 
> 
> 
> > I just tried compiling my Hello World code using your
> 
> > gcc-4.9.1-yosemite version and I still get problems. The good news is
> 
> > that the 13.4 vs. 14.0.0 issue is resolved but the linker issue
> 
> > remains. Should I be setting some options for the linker?
> 
> >
> 
> >    which gnatmake
> 
> >    /opt/gcc-4.9.1-yosemite/bin/gnatmake
> 
> > 	
> 
> >    gnatmake lcb01.adb
> 
> > 	
> 
> >    gnatbind -x lcb01.ali
> 
> >    gnatlink lcb01.ali
> 
> >    Undefined symbols for architecture x86_64:
> 
> >      "__Unwind_Backtrace", referenced from:
> 
> >          ___gnat_backtrace in libgnat.a(tracebak.o)
> 
> >    ... and more of the same ...
> 
> >    ld: symbol(s) not found for architecture x86_64
> 
> >    collect2: error: ld returned 1 exit status
> 
> >    gnatlink: error when calling /opt/gcc-4.9.1-yosemite/bin/gcc
> 
> >    gnatmake: *** link failed.
> 
> 
> 
> It works for me.
> 
> 
> 
> Could you build with "gnatmake lcb01.adb -largs -Wl,-v" to print the
> 
> command line passed to ld?

Simon, can you explain me using simple words what the problem was and
how you did solve it (without details... ). In fact I have both GNAT GPL 2014,
and GNAT GPL 2012 / SPARK 2012 on my iMac, and I want to avoid loosing
the 2012 version that I use for Spark... So do you think that there will be a
problem with Spark or not ?

Kind regards,

Vincent


  reply	other threads:[~2014-10-19 20:37 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-18  0:10 problems with gnat on yosemite macox Leo Brewin
2014-10-18 11:14 ` vincent.diemunsch
2014-10-18 12:52   ` Leo Brewin
2014-10-18 11:34 ` Simon Wright
2014-10-18 16:01 ` Simon Wright
2014-10-18 19:33   ` Simon Wright
2014-10-18 23:39     ` Leo Brewin
2014-10-19 13:55       ` Simon Wright
2014-10-19 20:37         ` vincent.diemunsch [this message]
2014-10-20  8:43           ` Simon Wright
2014-10-20 11:53             ` Simon Wright
2014-10-20 20:28               ` vincent.diemunsch
2014-10-20 20:34                 ` David Botton
2014-10-21  7:52                   ` Simon Wright
2014-10-19 20:59         ` Leo Brewin
2014-10-19 21:28           ` Leo Brewin
2014-10-20  7:41           ` Simon Wright
2014-10-20  9:15             ` Leo Brewin
2014-10-20 10:12               ` Simon Wright
2014-10-20 10:10             ` Simon Wright
2014-10-27 14:30               ` Luke A. Guest
2014-10-27 16:46                 ` Simon Wright
2014-10-28 23:50                   ` Luke A. Guest
2014-10-29  6:44                     ` Simon Wright
2014-10-29  9:24                       ` Georg Bauhaus
2014-10-18 16:11 ` Simon Wright
2014-10-18 21:46   ` Leo Brewin
2014-11-07  2:51 ` smndl
2014-11-07  2:53   ` David Botton
2014-11-07  7:10     ` Simon Wright
2014-11-20  8:17 ` Simon Wright
2014-11-20 21:41   ` Leo Brewin
2014-11-21  1:13     ` David Botton
2014-11-21  7:29       ` Simon Wright
2014-12-03 20:39     ` fastrgv
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox