• Building kForth-64 under Debian-based Linux Distros

    From Krishna Myneni@krishna.myneni@ccreweb.org to comp.lang.forth on Fri Dec 12 20:28:06 2025
    From Newsgroup: comp.lang.forth

    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
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From albert@albert@spenarnc.xs4all.nl to comp.lang.forth on Sat Dec 13 09:28:54 2025
    From Newsgroup: comp.lang.forth

    In article <10hiivm$3ib13$1@dont-email.me>,
    Krishna Myneni <krishna.myneni@ccreweb.org> wrote:
    kForth-64 is particularly useful for beginners. It is also quite easy to >build from source under Debian and requires minimal extra packages.

    The FIG-forth idea was to build only using the assembler provided
    by the micro manufacturer. That still exists for ciforth,
    assuming you have a the c-compiler installed under Linux.

    Unpacking:
    tar ciforth...tgz
    cd ciforth-...
    Build:
    as ci86.lina64.s
    ld -s -N a.out lina

    Under Debian the following packages are required:

    binutils
    gcc
    g++
    make
    libreadline8t64
    libreadline-dev

    Under the FIGForth doctrine no installation of other package
    is required.
    Each package is another risk that it fails.
    My Debian doesn't know about libreadline8t64.



    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

    Groetjes Albert
    --
    The Chinese government is satisfied with its military superiority over USA.
    The next 5 year plan has as primary goal to advance life expectancy
    over 80 years, like Western Europe.
    --- Synchronet 3.21a-Linux NewsLink 1.2