以下のスクリプトを実行します。
#!/bin/sh
if [ $# -eq 1 ]; then
. ../setup-pre.sh $1
else
. ../setup-pre.sh
fi
CC="$GCCBIN"; export CC
CXX="$GPPBIN"; export CXX
if [ "$ISA" = "sparcv9" -o "$ISA" = "amd64" ]; then
CFLAGS="-O2 -m64"
else
CFLAGS="-O2"
fi
export CFLAGS
CXXFLAGS="$CFLAGS"; export CXXFLAGS
./configure $CONFDIRS
% ./setup.sh [i386|amd64|sparcv8plus|sparcv9]
makeしてインストールします。
% gmake # gmake install
|
Copyright ©2000-2018 T.Hiraga <hiraga@next-hop.net> All Rights Reserved. Last modified: $Date: 2009/09/07 08:52:52 $ |