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,77471c4aba5b9263,start X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!o40g2000prh.googlegroups.com!not-for-mail From: brian.b.mcguinness@lmco.com Newsgroups: comp.lang.ada Subject: Trying to get an Ada compiler on a MacBook Pro Date: 24 Apr 2007 09:04:57 -0700 Organization: http://groups.google.com Message-ID: <1177430697.090250.78050@o40g2000prh.googlegroups.com> NNTP-Posting-Host: 192.172.8.14 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1177430705 10457 127.0.0.1 (24 Apr 2007 16:05:05 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 24 Apr 2007 16:05:05 +0000 (UTC) User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3,gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: o40g2000prh.googlegroups.com; posting-host=192.172.8.14; posting-account=R0BKUQwAAAAEH1zhMKQoEzkWfZJu3USj Xref: g2news1.google.com comp.lang.ada:15258 Date: 2007-04-24T09:04:57-07:00 List-Id: Sorry to post this here, but when I try to post to GNAT-OSX@hermes.gwu.edu I get a LISTSERV error telling me that I am not allowed to post from my account. There doesn't seem to be much introductory information available for people who are new to installing Ada compilers on Apple computers. For example, I know from searching around a bit that the Mac uses Mach-O format files, and that the GCC compilers usually generate ELF files, but it is not clear whether I need to use a command line switch to specify Mach-O format whenever I compile on the Mac, or whether the GCC autoconfiguration process sets that up automatically. I installed a previous GCC 4.2 release from the macada site on my MacBook Pro, and although the controls came up in Xcode ok (except that Xcode can't seem to find some of the Ada library files), when I attempted to use gnatmake from the command line it couldn't find the compiler, though I could run gcc by hand to compile a simple Ada test program to a .o file. Now I have to figure out which linker to use, the original Apple linker or one from the new GCC package. Now I have downloaded the GCC 4.3 Intel version from this new site and plan to try installing that to see if it will work any better. But I am not sure whether the 4.2 patch should be applied to that, or whether the fix is already incorporated into the 4.3 build. I want a GCC compiler set with the core C/C++ compilers, Ada, and Fortran (needed for some scientific libraries), that will compile and link programs on my Intel-based MacBook Pro. I don't care too much whether it supports Xcode or not, I can just as well compile from the command line. I just want to be able to compile and run programs. Also, I got a "not found" error today trying to reach http://www.macada.org/macada/macada/Welcome.html. Is the site listed below a replacement for that? What is the preferred site to download the compilers from? Thanks. --- Brian -----Original Message----- From: GNAT for Mac OS X User List [mailto:GNAT-OSX@HERMES.GWU.EDU] On Behalf Of Stephen Bespalko Sent: Tuesday, April 24, 2007 11:20 AM To: GNAT-OSX@HERMES.GWU.EDU Subject: Re: [GNAT-OSX] New Compilers I strongly recommend paying attention to the warnings in the release notes. If you have a spare machine that doesn't have any critical data, or that you wouldn't depend on for critical activities, then go for it, otherwise there is no way I'd put it on my day-to-day machine. On Apr 24, 2007, at 9:08 AM, Nicolas Setton wrote: >> I have posted new compilers to my web site. >> >> http://homepage.mac.com/awreynolds >> >> Ada folder. >> >> For those looking for the PowerPC compiler with most of the >> languages, that has been posted. >> >> For those looking for compilers for Leopard, they have been posted as >> well. > > Great job, congratulations! > > How stable is Leopard? (Hidden question: should I install it on my > machine?) > > Nico