last update: 19 Mar 1999
[home]
[index]
[contents]
[next]
[previous]
gcc-2.8.1
ftp://ftp.vector.co.jp/pack/solaris/sources/prog/gcc_2.8.1_src.tar.gz
ftp://ftp.iij.ad.jp/pub/GNU/gcc-2.8.1.tar.gz
http://ftp.digital.com/pub/GNU/gcc-2.8.1.tar.gz
Para compilar gcc e instalarlo en /usr/bin,
hay que ejecutar los siguientes comandos:.
% cd /usr/local/
% gzip -cd gcc_2.8.1_src.tar.gz | tar xvf -
% cd /usr/local/gcc-2.8.1
% configure
% make CC=gcc LANGUAGES="c c++"
% make stage1
% make CC="stage1/xgcc -Bstage1/" FLAGS="-g -O2"
% make stage2
% make CC="stage2/xgcc -Bstage2/" FLAGS="-g -O2"
% make compare
% make install CC="stage2/xgcc -Bstage2/" FLAGS="-g -O2" LANGUAGES="c c++"
% cp xgcc /usr/bin/gcc
[home]
[index]
[contents]
[next]
[previous]