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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1ceefa54d5df2c04 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!z14g2000cwz.googlegroups.com!not-for-mail From: "christov" Newsgroups: comp.lang.ada Subject: Re: no rule to make target gnatlib_and_tools Date: 20 Dec 2004 10:39:36 -0800 Organization: http://groups.google.com Message-ID: <1103567976.415058.276180@z14g2000cwz.googlegroups.com> References: <1103419653.660147.256310@f14g2000cwb.googlegroups.com> <1103482612.876159.251930@z14g2000cwz.googlegroups.com> NNTP-Posting-Host: 207.213.217.210 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1103567982 4396 127.0.0.1 (20 Dec 2004 18:39:42 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 20 Dec 2004 18:39:42 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: z14g2000cwz.googlegroups.com; posting-host=207.213.217.210; posting-account=iMifBw0AAAALJxfwhhZ9vT7AaNknQQfX Xref: g2news1.google.com comp.lang.ada:7097 Date: 2004-12-20T10:39:36-08:00 List-Id: u_int32_t wrote: > In fact, I do have gnat installed, the "problem" is that it is > prefixed with gnat*. I suppose I could try aliasing gcc=gnatgcc > or something like that as that obviously would have the C > compiler built in. Hmm. I wasn't questioning whether you had GNAT installed. You clearly said that you did, but you did leave out the critical bit of information about the name transform. Configure isn't smart enough to go looking for all possible compilers. It looks for gcc or cc in the PATH and takes the first one it finds, unless you force it. One way to force it is to set the CC environment variable before running configure. Try this (assuming sh semantics): % cd /extra/src/build % CC=gnatgcc /extra/src/gcc/configure --prefix=/opt/me --enable-languages=ada % (date; make bootstrap; date) >bootstrap.out 2>&1 % (date; make -C gcc gnatlib_and_tools; date) >>bootstrap.out 2>&1 Alternatively you could link gnatgcc as gcc. I do not think that shell aliases propagate into the make system. Good luck, Chris