公式サイトからGforth 0.7.0をダウンロードし、フォルダを/Applications
に置き、そのエイリアスを に入れました/usr/local/bin
。以下を使用してコンパイルした後:
$ sudo -s
$ ./configure
$ make
を作成すると、次の結果が得られます。
cd engine && make gforth-ditc-noll OPT=-noll OPTDEFINES= OPTOBJECTS=dblsub.o
cd .. && CONFIG_FILES=stamp-h CONFIG_HEADERS=engine/config.h ./config.status
config.status: creating stamp-h
config.status: creating engine/config.h
config.status: engine/config.h is unchanged
config.status: executing stamp-h commands
echo timestamp > stamp-h
cp -p engine/gforth-ditc-noll gforth-ditc
true
cd engine && make gforth-itc-noll OPT=-noll OPTDEFINES= OPTOBJECTS=dblsub.o
make[1]: `gforth-itc-noll' is up to date.
cp -p engine/gforth-itc-noll gforth-itc
true
./preforth -p ".:~+:." -e 's" mach16b.fs"' ./kernel/main.fs -e "save-cross kernl16b.fi- /usr/local/bin/gforth-0.7.0 bye"
Segmentation fault: 11.
make: *** [kernl16b.fi-] Error 139
bash-3.2# ./preforth
Segmentation fault: 11.
ここで何が悪いのかわかりません。Stack Overflow の質問Compiling Gforth without Gforth?への回答を試し ました。、しかし、それもうまくいきませんでした。MacBook Airで Mac OS X v10.8 (Mountain Lion) を実行しています。