161808Sobrien$FreeBSD$ 233968Sjdp 389913SobrienTo get a copy of the Binutils source from the Sourceware CVS repository 489913Sobrienthis command line was used: 533968Sjdp 689913Sobrien cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src login 789913Sobrien # password is "anoncvs" 833968Sjdp 989913Sobrien cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \ 1091056Sobrien export -r binutils-2_12-branch -l src 1189913Sobrien cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \ 1291056Sobrien export -r binutils-2_12-branch \ 1389913Sobrien src/bfd src/binutils src/config src/etc src/gas src/include \ 1489913Sobrien src/ld src/libiberty src/opcodes 1561808Sobrien 1689913Sobrien 1791056SobrienThis corresponds to the binutils-2_12-branch at 21-Feb-2002 14:10 PST. 1891056Sobrien 1989913SobrienTo strip down a new version of GNU binutils for import (starting with a 2089913Sobrienchecked out copy from the Sourceware anoncvs repo), prune files like this: 2189913Sobrien 2289913Sobrien for F in `cat FREEBSD-deletelist` 2389913Sobrien do find . -name "$F" -exec rm -rfv {} \; ; 2489913Sobrien done 2589913Sobrien 2689913SobrienThis command should be repeated until no files are shown as being deleted. 2789913Sobrien(do not eliminate the *z8* files. They're needed because of a stupid 2889913Sobrienhard-coded configure script in the opcodes subdirectory) 2989913Sobrien 3089913SobrienWe need a complete include/elf directory -- even with bits for CPU's we 3189913Sobriendo not support 3289913Sobrien 3389913Sobrien cvs -d :pserver:anoncvs@anoncvs.cygnus.com:/cvs/src \ 3491056Sobrien export -r binutils-2_12-branch src/include/elf 3589913Sobrien 3689913Sobrien 3789913SobrienIf you decide to bring in more of the files, import them -- do not use 3889913Sobrien``cvs add''. And please remember to adjust the contents of "FREEBSD-Xlist" 3989913Sobrienand "FREEBSD-deletelist" so that it reflects what is really imported from 4033968Sjdpthe vendor. 4133968Sjdp 4261808SobrienThe vendor import was done by: 4361808Sobrien 4491056Sobrien cvs import src/contrib/binutils FSF binutils_2_12_anoncvs_20020221 4561808Sobrien 4689913Sobrien 4761808SobrienNote that many of the files generated by GNU configure are present pre-built 4861808Sobrienin the "src/gnu/usr.bin/binutils" tree. These can be regenerated for a new 4961808Sobrienversion of binutils by running the "update.sh" script in that directory. 5061808Sobrien 5133968SjdpWhen upgrading to a new version, you also need to update the VERSION 5233968Sjdpdefinition in "src/gnu/usr.bin/binutils/Makefile.inc0". 5392216Sobrien 5492216SobrienAlso, verify that all applicable vendor changes to 5592216Sobriencontrib/binutils/ld/genscripts.sh are propogated to 5692216Sobriensrc/gnu/usr.bin/binutils/ld/genscripts.sh. 57