How to build Internet Server with Solaris 2.6
last update: 29 Sep 2004
home
|index
|contents
|next
|previous
gcc-2.5.6 バイナリ版
Solaris用のバイナリ版gcc-2.5.6を入手します。例えば以下のサイトから入手できます:
ftp://ftp.tohoku.ac.jp/pub/GNU/sparc-sun-solaris2/gcc-binaries-2.5.6.tar.gz
ftp://ftp.ae.keio.ac.jp/pub/GNU/sparc-sun-solaris2/gcc-binaries-2.5.6.tar.gz
ルートディレクトリ/ に移動してバイナリ版のgccを展開すると、ディレクトリ/opt以下に
gnuというサブディレクトリが生成されます。
次に"just-fixinc"というシェルスクリプトを実行します。
% cd /
% gzip -cd gcc-binaries-2.5.6.tar.gz | tar xvf -
% sh /opt/gnu/lib/gcc-lib/sparc-sun-solaris2/2.5.6/just-fixinc
ディレクトリ/opt/gnu/bin以下にgccが置かれているので、Pathの通った適当な
ディレクトリにコピーします。例えば:
% cp /opt/gnu/bin/gcc /usr/bin
% ln -s /usr/bin/gcc /usr/bin/cc
今回はgcc-2.5.6をインストールしましたが、以下のサイトにバイナリ版のgcc-2.8.1があります:
ftp://nce.sun.ca/pub/freeware/sparc/2.6/gcc-2.8.1-sol26-sparc-opt.gz
home
|index
|contents
|next
|previous