comp.lang.ada
 help / color / mirror / Atom feed
From: "christov" <christov@mac.com>
Subject: Re: no rule to make target gnatlib_and_tools
Date: 20 Dec 2004 10:39:36 -0800
Date: 2004-12-20T10:39:36-08:00	[thread overview]
Message-ID: <1103567976.415058.276180@z14g2000cwz.googlegroups.com> (raw)
In-Reply-To: pan.2004.12.19.19.50.39.741655@whocares.com

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




  reply	other threads:[~2004-12-20 18:39 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-19  1:27 no rule to make target gnatlib_and_tools sohail
2004-12-19  8:55 ` Martin Krischik
2004-12-19  9:14   ` u_int32_t
2004-12-19 15:26     ` Martin Krischik
2004-12-19 17:37       ` u_int32_t
2004-12-19 18:56 ` christov
2004-12-19 19:50   ` u_int32_t
2004-12-20 18:39     ` christov [this message]
2004-12-20 21:10       ` u_int32_t
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox