This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/55243] STAMP variable is not defined in t-avr


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]