This is the mail archive of the gcc@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]

`contrib/gcc_update --touch` and snapshots


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/


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