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!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: GNAT Installation Problems Date: Sat, 03 Oct 2015 08:58:00 +0100 Organization: A noiseless patient Spider Message-ID: References: <1mbocpr.1mawd5e4rfdb1N%csampson@inetworld.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="82b7f55adeea1ed21a93abb5e24a046f"; logging-data="26821"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/1wOWCLttdQuKTUuLK1rODmW63o8ojlYU=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Cancel-Lock: sha1:uMAborrXP+lulOKMwuzGdzIaOTA= sha1:yTlqnDD6QnFhLBeL0jPcGc2Zgu0= Xref: news.eternal-september.org comp.lang.ada:27899 Date: 2015-10-03T08:58:00+01:00 List-Id: 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). > 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?