comp.lang.ada
 help / color / mirror / Atom feed
From: csampson@inetworld.net (Charles H. Sampson)
Subject: Re: GNAT Installation Problems
Date: Sat, 3 Oct 2015 10:54:06 -0700
Date: 2015-10-03T10:54:06-07:00	[thread overview]
Message-ID: <1mbppy3.13vt7ka4vk72pN%csampson@inetworld.net> (raw)
In-Reply-To: ly8u7k4c53.fsf@pushface.org

Simon Wright <simon@pushface.org> wrote:

> csampson@inetworld.net (Charles H. Sampson) writes:
> 
> > 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
> 
> That should have been -s GDB not -a (which specifies an architecture,
> hence the message).

Right you are. I really need to get better glasses. Using the -s flag,
the codesign step appears to succeed, but now when I try to run GDB, I
get

     segmentation fault: 11

> > 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.
> 
> Much more likely to be some sort of path problem; all Intel Macs have
> been 64-bits.
> 
> What does "gcc -v" say? "gnatmake -v"? "gnatls -v"?
> 
> Do you have DYLD_LIBRARY_PATH set?

I've searched two manuals, GNAT GPL User's Guide and GPS Documentation,
for DYLD_LIBRARY_PATH without success. I don't remember that running
doinstall mentioned anything about setting this environment variable.
Can you point me to an explanation of what I'm supposed to do or just
tell me?

Thanks for your help.

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)

  parent reply	other threads:[~2015-10-03 17:54 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-03  0:29 GNAT Installation Problems Charles H. Sampson
2015-10-03  7:58 ` Simon Wright
2015-10-03 15:41   ` Kevin K
2015-10-03 17:35     ` Simon Wright
2015-10-03 17:54   ` Charles H. Sampson [this message]
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