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=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,312e0e8ff2e02854 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news4.google.com!feeder.news-service.com!xlned.com!feeder1.xlned.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!fi.sn.net!newsfeed2.fi.sn.net!news.song.fi!not-for-mail Date: Tue, 16 Mar 2010 10:12:18 +0200 From: Niklas Holsti Organization: Tidorum Ltd User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: FSF GNAT on Mac OS X Snow Leopard, does it exist? References: <4b9e9784$0$2002$4f793bc4@news.tdc.fi> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4b9f3d80$0$1985$4f793bc4@news.tdc.fi> NNTP-Posting-Host: 81.17.205.61 X-Trace: 1268727168 news.tdc.fi 1985 81.17.205.61:60651 X-Complaints-To: abuse@tdcnet.fi Xref: g2news1.google.com comp.lang.ada:9588 Date: 2010-03-16T10:12:18+02:00 List-Id: Simon Wright wrote: > Niklas Holsti writes (not in this order): > >> My searches and tests have so far only found GNAT versions that do not >> work on Snow Leopard, including GNAT GPL 2009, which crashes with >> segmentation fault. > > If you go to http://sourceforge.net/projects/gnuada/files/ and navigate > to GNAT_GPL Mac OS X > 2009-snow-leopard you'll find 64- and 32-bit > compilers. Note, both want to install at /: Thanks, I will try that one, when next I get my hands on the Mac (that I borrow for this purpose). I tried the GNAT GPL from AdaCore Libre, which segfaulted. But I would really need an FSF-licenced compiler, because some of my source code is under NDA from other parties and can't be opened. >> Is there an FSF-derived version of GNAT that runs on the "Snow >> Leopard" version of Mac OS X? > > At the moment I'm running gcc version 4.5.0 20100221 (experimental) > [trunk revision 156937] built for x86_64-apple-darwin10.2.0 & also have > i686-apple-darwin10.2.0. But I've not uploaded either of these anywhere > as yet .. > > At the same place, under GNAT_GCC Mac OS X > 4.4.2, you'll find a > collection of .dmg's posted by Martin Krischik. I've not used these. I already tried that one (gnat-gcc-4.4.2.dmg), but it did not work; trying to compile something with gnatmake gave an error message saying an Ada compiler is not installed. From my googling it seems that others have encountered the same error. My guess is that gnatmake is using the wrong gcc. Perhaps this could be a simple problem to solve, or just an installation problem (I accepted the default location /opt/local), but how to do it is not evident to me. -- Niklas Holsti Tidorum Ltd niklas holsti tidorum fi . @ .