[Bug bootstrap/30541] Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables down

charlet at adacore dot com gcc-bugzilla@gcc.gnu.org
Tue Jan 23 14:47:00 GMT 2007



------- Comment #12 from charlet at adacore dot com  2007-01-23 14:47 -------
Subject: Re:  Top-level should pass GNATBIND, GNATLINK and GNATMAKE variables
down

> 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.

Not only "they seem", but they ARE unused.
Normally, only gcc and gnatbind are needed during the bootstrap.
Now, gnatmake is also needed because of some support tools, but logically,
these support tools should only be built once before bootstrap starts, in
order to generate automatically files.

So I see no reason to add GNATLINK here really.

Arno


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30541



More information about the Gcc-bugs mailing list