2、下载32位版本安装文件,GForth在64位环境下编译安装还有问题。
3、运行安装文件
4、选好安装源和本地路径后,搜索“libtool"、“make”、“automake”、“gcc”、“diffutils“、“wget”和”vim”并选中安装;
5、安装完成后,运行"Cygwin Terminal"并在终端窗口内执行以下命令:
cd /tmp
wget http://ftp.gnu.org/gnu/gforth/gforth-0.7.3.tar.gz
tar zxvf gforth-0.7.3.tar.gz
cd gforth-0.7.3
./configure
make install
6、gforth安装完成,测试一下:
$ gforth
Gforth 0.7.3, Copyright (C) 1995-2008 Free Software Foundation, Inc.
Gforth comes with ABSOLUTELY NO WARRANTY; for details type `license'
Type `bye' to exit
: hi cr ." Hello, world!" cr ; ok
hi
Hello, world!
ok
bye
没问题,可以开始练习了 B-)