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,c29b14f3223f3446 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.22.230 with SMTP id h6mr21025140pbf.4.1319404579278; Sun, 23 Oct 2011 14:16:19 -0700 (PDT) Path: c1ni5043pbr.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Bootstrapping Gnu ADA onto FreeBSD/AMD64-CURRENT Date: Sun, 23 Oct 2011 22:16:18 +0100 Organization: A noiseless patient Spider Message-ID: References: <4ea44ad9$0$2965$fa0fcedb@news.zen.co.uk> <85OAZ7MS40840.1891319444@reece.net.au> <4ea47e4d$0$2974$fa0fcedb@news.zen.co.uk> Mime-Version: 1.0 Injection-Info: mx04.eternal-september.org; posting-host="dFCm8HWntFqmDIilBLqEJQ"; logging-data="30843"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mDXjDGSNaeKvVeeUAIT/4JVADKhoRX+0=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (darwin) Cancel-Lock: sha1:daJC9XJHsSfRXvZ/ecQPmJDcOQA= sha1:rHR43KnSneQFd5aVPO3qcDOk/y4= Xref: news2.google.com comp.lang.ada:14166 Content-Type: text/plain; charset=us-ascii Date: 2011-10-23T22:16:18+01:00 List-Id: Mark Murray writes: > On 23/10/2011 21:32, Kulin Remailer wrote: >> I didn't cross compile but when I installed 3.15p onto a system that already >> had a more current gcc-ada installed, I installed the 3.15p into my user >> directory. You can write a shell script to set the PATH to whatever you want >> and choose from amongst your versions. Ludovic will undoubtedly have a >> better suggestion. > > Thanks! That's sort-of what I did for the bootstrap compiler, but PATH > shenannigans is NOT the way I want to go for "real" use. Personally I have no problems with PATH shenanigans. However, you _might_ be interested in gnatfe [1]: "This script acts as a front end to the GNAT compiler in the case where you don't want to install GNAT over an existing compiler (perhaps your main compiler is Apple's gcc-4.0.1, which doesn't support Ada), and/or where you have more than one GNAT version installed." [1] http://gnuada.sourceforge.net/pmwiki.php/Packages/Gnatfe