This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/30541] Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down
- From: "bonzini at gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2007 14:09:23 -0000
- Subject: [Bug bootstrap/30541] Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down
- References: <bug-30541-10053@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #11 from bonzini at gnu dot org 2007-01-23 14:09 -------
You're right. gnattools is only built at the end of the bootstrap.
I'd prefer a slightly more conservative patch; I don't want to fix things later
if we know that the tools are needed somewhen during the build.
So, rather than deleting the GNATBIND variable, I prefer to leave it aside and
also provide GNATMAKE/GNATLINK default definitions:
GNATBIND = $(STAGE_PREFIX)gnatbind
GNATMAKE = gnatmake
GNATLINK = gnatlink
in both Make-lang.in and Makefile.in. (sidenote: after this patch is committed
I'll remove STAGE_PREFIX altogether from mainline).
True, they seem to be unused, but it's better to be consistent; for the same
reason I prefer to pass GNATLINK down too via flags_to_pass.
Please post the fixed patch (without the generated files) to gcc-patches after
these changes. Thanks!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30541