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: Fri, 02 Oct 2015 19:29:04 -0500 Newsgroups: comp.lang.ada Subject: GNAT Installation Problems From: csampson@inetworld.net (Charles H. Sampson) Date: Fri, 2 Oct 2015 17:29:04 -0700 Message-ID: <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-cOfyprridKMyZdJmmQZIECMXuCJ9hfcftXHxzeh871VXTz5eq1Lts1jeh7ukZVyVSRQ63IkTXySAQD5!uO8GyADuRt2+r2m0HHLUQ3VQUsYVV2RTmSVfxdw8EuF7BRmBgIqDfEb75wpqyZ/uTCtcuxg4S2KA!GwK2+nxZ6orJwig3kQ0fkioaEYiI 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: 2371 Xref: news.eternal-september.org comp.lang.ada:27898 Date: 2015-10-02T17:29:04-07:00 List-Id: 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)