expect 5.44.1

64bit版

以下のスクリプトを実行します。

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

32bit版

以下のスクリプトを実行します。

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

hiraga@next-hop.net
Last modified: $Date: 2007/11/10 04:16:40 $
Apache