This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/55243] STAMP variable is not defined in t-avr
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 10 Dec 2012 18:00:20 +0000
- Subject: [Bug ada/55243] STAMP variable is not defined in t-avr
- Auto-submitted: auto-generated
- References: <bug-55243-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55243
--- Comment #12 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-10 18:00:20 UTC ---
> LANG_MAKEFRAGS contains $(srcdir)/ada/gcc-interface/Make-lang.in which in turn
> contains:
>
> # put the host RTS dir first in the PATH to hide the default runtime
> # files that are among the sources
> RTS_DIR:=$(strip $(subst \,/,$(shell gnatls -v | grep adalib )))
>
> which means gnatls is called no matter if it exists or not.
OK, thanks for investigating. Tentative patch for ada/ to be attached.
> The Makefile includes $(tmake_file) and thus
> $(srcdir)/gcc/config/avr/t-multilib which is auto-generated and needs $(STAMP)
> to build.
>
> AFAIK make resolves its includes before it starts building the targets.
So t-multilib is autogenerated in the source tree during the build???