comp.lang.ada
 help / color / mirror / Atom feed
* problems with gnat on yosemite macox
@ 2014-10-18  0:10 Leo Brewin
  2014-10-18 11:14 ` vincent.diemunsch
                   ` (5 more replies)
  0 siblings, 6 replies; 35+ messages in thread
From: Leo Brewin @ 2014-10-18  0:10 UTC (permalink / raw)


Hi Troops,

I just tried running gnatmake and friends under yosemite on MacOSX 10.10.
It failed badly.

Using the AdaCore 2014 GPL binaries I get

   /usr/local/gnat/bin/gcc -v
   Segmentation fault

   /usr/local/gnat/bin/gnatmake -v

   GNATMAKE GPL 2014 (20140331)
   Copyright (C) 1992-2014, Free Software Foundation, Inc.
   try "gnatmake --help" for more information.

Simon's gcc-4.8.0 binaries yield a small improvement but they too fail on a simple Hello World code,

   which gnatmake
   /opt/gcc-4.8.0/bin/gnatmake
   
   gnatmake lcb01.adb
   gnatbind -x lcb01.ali
   gnatlink lcb01.ali
   gcc: warning: couldn't understand kern.osversion '14.0.0
   gcc: warning: couldn't understand kern.osversion '14.0.0
   Undefined symbols for architecture x86_64:
     "__Unwind_Backtrace", referenced from:
         ___gnat_backtrace in libgnat.a(tracebak.o)
   	... similar lines deleted ...
   ld: symbol(s) not found for architecture x86_64
   collect2: error: ld returned 1 exit status
   gnatlink: error when calling /opt/gcc-4.8.0/bin/gcc
   gnatmake: *** link failed.

The file lcb01.adb is a trivial Hello World code

   with Ada.Text_IO; use Ada.Text_IO;
   procedure lcb01 is
   begin
      Put_line("Hello world");
   end lcb01;

I'm running Xcode 6.0.1 (not the developer 6.1 beta) and I've installed the command line tools.
I'm running this on a late 2013 MacBook Pro.

Any suggestions would be gratefully appreciated.

Cheers,
Leo


^ permalink raw reply	[flat|nested] 35+ messages in thread

end of thread, other threads:[~2014-12-03 20:39 UTC | newest]

Thread overview: 35+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
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

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