This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
`contrib/gcc_update --touch` and snapshots
- To: gcc at gcc dot gnu dot org
- Subject: `contrib/gcc_update --touch` and snapshots
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Sat, 19 Aug 2000 22:49:18 +0200 (CEST)
- cc: Mark Mitchell <mark at codesourcery dot com>
I'm afraid the following change breaks `contrib/gcc_update --touch`
when used with snapshots, which do contain generated files:
2000-07-13 Mark Mitchell <mark@codesourcery.com>
* gcc_update (files_and_dependencies): Remove generated YACC files.
An example sent to me privately by some user:
# contrib/gcc_update --touch
Touching gcc/config.in...
Touching gcc/java/parse.h...
Touching libf2c/configure...
Touching libf2c/libU77/configure...
# cd $objdir
# make
gmake[1]: Entering directory `/work/egcs-20000814/libiberty'
...snip...
cd cp && gmake ./parse.c
gmake[3]: Entering directory `/work/egcs-20000814/gcc/cp'
expect 33 shift/reduce conflicts and 58 reduce/reduce conflicts.
cd .; bison -d -o parse.c parse.y
bison: not found
gmake[3]: *** [parse.c] Error 127
Perhaps we can/should touch generated files if and only if they already
exist in the local source tree? Thoughts?
Gerald
--
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/