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]

Re: Snapshot


  In message <ork9fefhle.fsf@sunsite.dcc.unicamp.br>you write:
  > Joe Buck writes:
  > 
  > > OK.  Please fix "make install" to clean out $prefix/include/g++ first;
  > > otherwise users are testing a mixture of the current and previous
  > > snapshots.
  > 
  > this is a bit dangerous, since this directory may be shared among multiple
  > architectures.  If one runs tests *after* installing gcc, as I do, it
  > may get random errors for Solaris2.5 and Linux (the fastest ones)
  > because the SunOS4.1.3 host decided to clean up include/g++
Yup, it is dangerous -- Cygnus has run into problems with this kind of
stuff before.

However, we do need to find some way to address the problem of stale
files in the include installation directory.  Until we do I highly
recommend folks wipe it out before doing an install.

  > What if the clean-include step were not mandatory, or if it just
  > cleaned up files older than one day, for instance?
Well, another approach would be to issue a warning and demand user
intervention if files are found in the dir which aren't part of
the current distrubtion.  I don't know how feasible this is.

jeff


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