kForth is provided under the terms of the
GNU General Public License.
New releases of this software will be posted at the
CCRE website,
as they become available. Online documentation is also available
at the website. Difficulties with installation should be reported to:
krishna.myneni@ccreweb.org
kForth is distributed as a compressed tar (Unix Tape Archive)
file (
kflnx10.tar.gz for the Linux version and
kfwin10.tar.gz for the Windows version).
This file contains the source code files and a Makefile for building
the executable. Windows users may also simply download the
file
kfwin10.zip if they only want to execute
kForth.
/usr/local/src
, e.g.kflnx10.tar.gz
into
this directory,Makefile
in the directory. Type readline
and ncurses
libraries must be present on your system.
/usr/local/bin
in order to
put it in a path available to users,
.4th
. Users may copy the
example programs to their own directories.
KFORTH_DIR
must
be set to this directory. For example, under the BASH
shell, if you want the default directory to be
/usr/local/src/kforth
, add the following lines to your
.bash_profile file:KFORTH_DIR=/usr/local/src/kforth export KFORTH_DIR
The Cygwin development tools must be
installed on your Windows system to rebuild the executable starting
from the source code. If you do not wish to build kForth from scratch,
simply download the distribution file
kfwin10.zip and unzip the contents into the desired directory.
The zip file contains the executable kforth.exe, the required
dynamic link libraries cygwin1.dll, cygncurses5.dll,
cygreadline4.dll, and sample kForth programs.
Follow these steps to build kForth from scratch on your
Windows system:
/usr/local/src
directory, e.g.kfwin10.tar.gz
into this directory:/usr/local/src/kforth
directory
and extract the files:cd /usr/local/src/kforth tar -zxvf kfwin10.tar.gz
Makefile
, and a README
file containing these instructions.kforth.exe
, will be generated.
.4th
,
are included in the archive file. These files are inteded to
serve as programming examples for kForth./usr/local/src/kforth
, add the following
lines to your .bash_profile
file:KFORTH_DIR=/usr/local/src/kforth export KFORTH_DIR
kforth.ico
may be used to create a
desktop icon for kforth under Windows.