This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Top-level Makefile
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- Cc: gcc at gcc dot gnu dot org
- Date: Fri, 30 Nov 2001 22:32:05 -0500
- Subject: Re: Top-level Makefile
>>>>> Richard Kenner writes:
> Note that I use
> $ make SHELL=/usr/local/bin/bash CONFIG_SHELL=/usr/local/bin/bash ... bootstrap
> Setting the appropriate environment variables should be equivalent with
> GNU Make, but I am not sure.
Richard> You lost me. I was doing configure, not make.
As others have mentioned, "configure" is run at different times.
The first manual configure is for the build of the compiler itself. Then
"make bootstrap" or "make all" in the top-level runs configure implicitly
to set up the target libraries based on the target compiler just built.
libstdc++-v3 is one of those directories in which "configure" is run by
Make.
The upshot is that you need to specify the shell to Make so that
it is used by the libstdc++-v3 configure.
David