以下のスクリプトを実行します。
setup.sh
#!/bin/sh ./configure \ --bindir=/usr/local/bin/sparcv9 \ --libdir=/usr/local/lib/64 \ --enable-threads \ --enable-shared \ --with-tcl=/usr/local/lib/64 \ --with-tclinclude=/path/to/tcl8.4.14/generic \ --with-tk=/usr/local/lib/64 \ --with-tkinclude=/path/to/tk8.4.14/generic \ --enable-64bit \ --enable-64bit-vis
Makefileにコンパイラオプションを追加します。
%vi Makefile - CFLAGS_DEFAULT = + CFLAGS_DEFAULT = -xtarget=native64 -xarch=native64 -xcode=pic32
makeしてインストールします。
% gmake # gmake install
以下のスクリプトを実行します。
setup.sh
#!/bin/sh ./configure \ --bindir=/usr/local/bin/sparcv8plus \ --enable-threads \ --enable-shared \ --with-tcl=/usr/local/lib \ --with-tclinclude=/path/to/tcl8.4.14/generic \ --with-tk=/usr/local/lib \ --with-tkinclude=/path/to/tk8.4.14/generic
setup.shを実行してmakeします。
% ./setup.sh % gmake # gmake install
# cd /usr/local/bin # ln /usr/lib/isaexec expect # ln /usr/lib/isaexec expectk