1. Download GCC
http://gcc.gnu.org/
2. Unzip
#TAR XZVF GCC-3.4.0.tar.gz
or
# BZCAT GCC-3.4.0.tar.bz2 | TAR XVF -
3. Establish an installation directory
#mkdir /usr/local/gcc_3.4.0
4. Compile
#CD GCC_3.4.0_INSTALL #configure --prefix = / usr / local / gcc_3.4.0 #make (time is long
)
5. Installation
#make install
6. Configuration
#CD / usr / bin #LN -S /USR/LOCAL/GCC_3.4.0/bin/gcc gcc34 #ln -s /usr/local/gcc_3.4.0/bin/g g 34 #LN -S / USR / Local / GCC_3.4.0 / Bin / GCJ GCJ34 #set ld_library_path /usr/local/gcc_3.4.0/lib: *LD_Library_Path