GCC-Upgrade-mini.HowTo "Trust this, and move into the future."
<Upgrading gcc, libc, binutils, ld, make ?,>
(Packages, you will need.)
1. gcc.2.7.2?.bin.elf.tar.gz <The gcc (c) compiler.>
2. binutils-2.6.0.10?.bin.tar.gz <The latest ? as of this writing.>
3. libc.5.2.18?.bin.elf.tar.gz <C Libraries.>
4. ld.so-1.7.14?.tar.gz <The dynamic linker and loader, WHAT?>
5. make-3.74-direntfix-elf.tar.gz <Binary-elf version, of make,
Where to get. that fixes a bug, you might
ncftp> open otherwise notice, after you
to> ftp.cc.gatech.edu upgrade.>
ncftp> cd /pub/Linux/GCC <For packages 1-4.>
ncftp> ls
ncftp> get packages 1-4
ncftp> cd .. <Go back one directory.>
ncftp> cd devel/make <For make, /pub/Linux/devel/make.>
ncftp> ls
ncftp> get make
ncftp> quit
If the directory contents scroll bye to quickly to see, try ls -r
to display them in reverse, or ls | more (one screenfull at a time,
press q to quit. (ls | more, might not work, depends on ?)
Now move all the packages, to /
~/upgrade# mv *gz / <This will move all to />
~/upgrade# cd /
/# tar xzvf gcc.2.7.2?.bin.elf.tar.gz <Begin unpacking, one at a time.>
/# Next binutils
/# Next libc
/# tar xzvf make-3.74-direntfix-elf.tgz <Unpack and install make.>
/# cd *elf
/make-3.74-bin-elf# mv make /usr/bin <Move make fixed, to /usr/bin,
overwriting old make.>
/# tar xzvf ld.so-1.7.14.tar.gz <Unpack ld.>
/# cd *14
/ld.so-1.7.14# instldso.sh <Install ld.>
Now of course, you can remove all the packages.
/# rm *tar.gz <Be sure there's nothing else, in the same dir. with
the same extension tar.gz, that you want to keep.>
/# rm -r *elf <To remove make.>
/# rm -r *14 <To remove ld.>
To remove the old 2.7.0 directories.
/# rm -rf /usr/lib/gcc-lib/1486-linux/2.7.0
/# rm -rf /usr/lib/gcc-lib/i486-linuxaout/2.7.0
/# cd /lib
/lib# ln -sf /usr/lib/gcc-lib/i486-linux/2.7.2/cpp cpp <Create new link
And of course, the it dose,nt hurt links, stuff. for cpp. to point
/lib# cd /usr/include to 2.7.2/cpp.>
/usr/include# ln -s /usr/src/linux/include/linux linux
# ln -s /usr/src/linux/include/asm-i386 asm
# ldconfig -v
fi