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

Reply via email to