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



--- Comment #19 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-12-10 
21:17:52 UTC ---

> It works with read-only sources, provided everything is consistent.  Or are

> you saying that a t-snip must not use $(STAMP)?



I'm saying that the build process should never touch the source tree.



> Actually, the PR boils down to the fact the STAMP is not defined, I am nut

> sure if the compiler is supposed to build without STAMP.



Probably not, but what I'm trying to understand is why we seem to be fiddling

with the source tree when building the gnattools.



> Is basically follows an idea introduced with genopt.sh in

> 

> http://gcc.gnu.org/viewcvs?view=revision&revision=175248

> 

> Notice how t-avr builds avr-tables.opt, and that the latter is added to the

> repo.



The point is that, if a file is present in the repo, it should not be generated

at build time, but only when it is updated in the repo.

Reply via email to