comp.lang.ada
 help / color / mirror / Atom feed
From: csampson@inetworld.net (Charles H. Sampson)
Subject: GNAT Installation Problems
Date: Fri, 2 Oct 2015 17:29:04 -0700
Date: 2015-10-02T17:29:04-07:00	[thread overview]
Message-ID: <1mbocpr.1mawd5e4rfdb1N%csampson@inetworld.net> (raw)

After years of playing with Ada on my antique Mac G4 (desktop), I
decided to move to my much more modern MacBook Pro, running OS-X 10.7. I
downloaded what I think is the proper file from libre.adacore.com:
x86_64-Darwin. I also downloaded and installed Xquartz.

In a terminal window, I executed doinstall and followed instructions,
placing the GNAT files in folder Ada/GNAT. I changed my .bashrc to put
/Ada/GNAT at the head of PATH. I then followed the instructions for
"codesigning" gdb, I hope. I created a certificate that I named GDB.
After rebooting the machine, as instructed, I executed

     codesign -f -a GDB /Ada/GNAT/bin/gdb

and was rewarded with the error message

     GDB: unknown architecture name

Finally, trying to get a handle on where I stand, I executed (in a
terminal window)

     gnatmake -g generate.adb

which gave me the message

     Illegal instruction: 4

Any ideas? The last message makes me think that my MacBook has only a
32-bit bus and it's trying to execute an instruction unique to 64-bit
machines. I've poked around System Profiler and see nothing about bus
width.

Charlie
-- 
Nobody in this country got rich on his own.  You built a factory--good.
But you moved your goods on roads we all paid for.  You hired workers we
all paid to educate. So keep a big hunk of the money from your factory.
But take a hunk and pay it forward.  Elizabeth Warren (paraphrased)

             reply	other threads:[~2015-10-03  0:29 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-03  0:29 Charles H. Sampson [this message]
2015-10-03  7:58 ` GNAT Installation Problems Simon Wright
2015-10-03 15:41   ` Kevin K
2015-10-03 17:35     ` Simon Wright
2015-10-03 17:54   ` Charles H. Sampson
2015-10-03 18:00     ` Simon Wright
2015-10-04 13:58       ` Charles H. Sampson
2015-10-04 15:07         ` Simon Wright
2015-10-05 18:28           ` Georg Bauhaus
2015-10-05 18:59             ` Simon Wright
2015-10-06  7:17           ` Charles H. Sampson
2015-10-09  7:53             ` Simon Wright
2015-10-09 19:10               ` Charles H. Sampson
2015-10-09 21:06                 ` Simon Wright
  -- strict thread matches above, loose matches on Subject: below --
1998-04-16  0:00 GNAT Installation problems Steve O'Neill
1998-04-16  0:00 ` Steve O'Neill
replies disabled

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