Recommend directory update

Richard Earnshaw rearnsha@arm.com
Sat Apr 1 00:00:00 GMT 2000


> > Any chance that we can crib the contrib structure from gcc and have
> > contrib/update_{gdb,binutils,...}?  This would then ensure that configure
> > files didn't get mangled either.
> 
> Um, I'm not sure what you mean.
> 
> 	Andrew

Sorry, structure was probably a misleading word to use.  contrib is a 
directory in the top-level of the source tree.  It contains (amongst other 
things) a script called gcc_update.  This script will update a local copy 
of your cvs repository by doing a suitable sequence of "cvs update" 
commands.  The final part of the script will then touch certain 
autogenerated files such as gcc/configure to make sure that it is more 
recent than gcc/configure.in -- this avoids the need to continuously track 
tools such as autoconf to ensure that your copy is in sync with the copy 
used in the repository.

In summary, it's a shell script that does the right things to update the 
source for the tool you have checked out.

R.



More information about the Gdb-patches mailing list