FREEBSD-upgrade revision 61808
161808Sobrien$FreeBSD: head/contrib/binutils/FREEBSD-upgrade 61808 2000-06-18 21:32:11Z obrien $
233968Sjdp
361808SobrienTo get a copy of the Binutils source from the Sourceware CVS repository
461808Sobrienthis command line was used:
533968Sjdp
661808Sobrien	cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login
761808Sobrien	#	password is "anoncvs"
833968Sjdp
961808Sobrien	cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \
1061808Sobrien		co -rbinutils-2_10-branch -l src
1161808Sobrien	cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \
1261808Sobrien		co -rbinutils-2_10-branch \
1361808Sobrien		src/bfd src/binutils src/config src/etc src/gas src/include \
1461808Sobrien		src/ld src/libiberty src/opcodes
1561808Sobrien
1661808Sobrien
1761808SobrienTo strip down a new version of GNU binutils for import (starting with a
1861808Sobrienchecked out copy from the Sourceware anoncvs repo), prune files like this:
1961808Sobrien
2061808Sobrien	for F in `cat FREEBSD-deletelist`
2161808Sobrien		do find . -name "$F" -exec rm -rfv {} \; 
2261808Sobrien	done
2361808Sobrien
2461808SobrienThis command should be repeated until no files are shown as being deleted.
2561808Sobrien
2661808SobrienIf you decide to bring in more of the files, import them -- don't use
2761808Sobrien``cvs add''.  And please remember to adjust the contents of "FREEBSD-Xlist"
2861808Sobrienand "FREEBSD-deletelist" so that it reflects what is really imported from
2933968Sjdpthe vendor.
3033968Sjdp
3133968Sjdp
3261808SobrienThe vendor import was done by:
3361808Sobrien
3461808Sobrien	cvs import src/contrib/binutils GNU \
3561808Sobrien		sourceware_binutils-2_10-branch_anoncvs_20000512
3661808Sobrien
3761808Sobrien
3861808SobrienNote that many of the files generated by GNU configure are present pre-built
3961808Sobrienin the "src/gnu/usr.bin/binutils" tree.  These can be regenerated for a new
4061808Sobrienversion of binutils by running the "update.sh" script in that directory.
4161808Sobrien
4233968SjdpWhen upgrading to a new version, you also need to update the VERSION
4333968Sjdpdefinition in "src/gnu/usr.bin/binutils/Makefile.inc0".
44