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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no 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.14.169 with SMTP id q9mr14148141pbc.2.1319389913681; Sun, 23 Oct 2011 10:11:53 -0700 (PDT) Path: c1ni4379pbr.0!nntp.google.com!news1.google.com!news.glorb.com!feeder.erje.net!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail Date: Sun, 23 Oct 2011 18:12:02 +0100 From: Mark Murray User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Bootstrapping Gnu ADA onto FreeBSD/AMD64-CURRENT References: <4ea41d89$0$2553$da0feed9@news.zen.co.uk> In-Reply-To: <4ea41d89$0$2553$da0feed9@news.zen.co.uk> Message-ID: <4ea44ad9$0$2965$fa0fcedb@news.zen.co.uk> Organization: Zen Internet NNTP-Posting-Host: fdd52a08.news.zen.co.uk X-Trace: DXC=S4>l7knQfSOI>27fALHYIJYjZGX^207PK`2D^>]QB X-Complaints-To: abuse@zen.co.uk Xref: news1.google.com comp.lang.ada:18675 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2011-10-23T18:12:02+01:00 List-Id: On 23/10/2011 14:59, Mark Murray wrote: > 1) How do I get build gcc-4.7 such that the ${PREFIX}/bin/gnat* bits > "know" that gcc${SUFFIX} or ${PREFIX}/ is to be used, and > not the first "gcc" it finds on the path? Rearranging the path is not a > permanent option, its OK for bootstrapping; "gcc" is "system gcc", if I > want other gcc then I'd like to ask for that specifically with (say) > "gcc47". Answering myself partially on this one; it looks like you can't? I dug through the source for gnatmake etc in gcc-4.7-20111015/gcc/ada and found strings (more than one) that would indicate that "gcc" is hardcoded and not configuable. I'm no Ada programmer (I want this so I can learn!), so I may be missing something, but its not looking good so far. Next step is to hack the source and see. Yuk! :-) M -- Mark "No Nickname" Murray Notable nebbish, extreme generalist.