From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.nethere.com!news.nethere.com.POSTED!not-for-mail NNTP-Posting-Date: Sat, 03 Oct 2015 12:54:06 -0500 Newsgroups: comp.lang.ada Subject: Re: GNAT Installation Problems From: csampson@inetworld.net (Charles H. Sampson) Date: Sat, 3 Oct 2015 10:54:06 -0700 Message-ID: <1mbppy3.13vt7ka4vk72pN%csampson@inetworld.net> References: <1mbocpr.1mawd5e4rfdb1N%csampson@inetworld.net> User-Agent: MacSOUP/2.8.3 (Mac OS X version 10.4.11 (PPC)) X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-j2jrdiqSSACnO6qLYCZ5RbIshlyZbAMYUYS/nlZFnQ/QeWIQwmrVEeFyNc515K3ehraB4wKDaEIgZ4s!+4LuwKYQwjFKg1gwFYlZ+XNoRKyqJgXfYrcbajrFYef2YF12UUY9S6IwPagO7+9vLcY5F9P6Chhm!mJZ70I7K5DGIn1p+PSYYq7w53s5c X-Complaints-To: abuse@nethere.com X-DMCA-Complaints-To: abuse@nethere.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 2891 Xref: news.eternal-september.org comp.lang.ada:27902 Date: 2015-10-03T10:54:06-07:00 List-Id: Simon Wright 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)