kForth-64 is particularly useful for beginners. It is also quite easy to >build from source under Debian and requires minimal extra packages.
Under Debian the following packages are required:
binutils
gcc
g++
make
libreadline8t64
libreadline-dev
You can "sudo apt-get install" those packages.
The User's Guide provides explicit instructions on building the
executables (kforth64 and kforth64-fast) from source under Linux. These >instructions amount to
0. unpacking the distribution
1. changing to the src/ directory in the distribution
2. typing "make"
The steps above are performed after installing required packages.
You should also set an environment variable, as described in the User's >Guide, to point to a copy of the forth-src directory from the
distribution. This is done in Debian by appending two lines to the
hidden file
.profile
in your home directory:
KFORTH_DIR=$HOME/<your path to copy of forth-src dir>
export KFORTH_DIR
After the edit, log out and log back in. Then do
$ echo $KFORTH_DIR
which should print the default directory for the forth files. This
allows the executables (kforth64 and kforth64-fast) to find files which
are INCLUDEd in your source.
The User's Guide also provides a gentle introduction to kForth in
Chapter 2. There are numerous source examples. You may download the
kForth-64 source as a zip file from github or as a .tar.gz file from >ccreweb.org:
https://github.com/mynenik/kForth-64 >https://ccreweb.org/software/kforth/kforth.html
--
Krishna Myneni
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,089 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 153:53:40 |
| Calls: | 13,921 |
| Calls today: | 2 |
| Files: | 187,021 |
| D/L today: |
3,760 files (944M bytes) |
| Messages: | 2,457,163 |