• Running bigFORTH on amd64

    From David Meyer@21:1/5 to All on Thu Jul 3 15:58:41 2025
    I recently discovered bigFORTH and MINOS on Bernd Paysan's web site and
    decided to try it on my amd64 PC running Devuan, a Debian-based Linux distribution.

    I was able to build and install it. The console REPL "bigforth" appears
    to work, but when I try to run the GUI "xbigforth" it crashes with the following message:

    libX11.so.6 Library not found!
    Level: (ABORT" @LIB @SYMS $101471E6 XOPENDIPLAY $FFE44E02 $565BE3CA $FFE440C8

    (The first message is displayed in spite of the fact that package
    libx11-6 is already installed.)

    Any clue what I'm doing wrong?

    --
    David Meyer
    Takarazuka, Japan
    papa@sdf.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anton Ertl@21:1/5 to David Meyer on Thu Jul 3 07:33:34 2025
    David Meyer <papa@sdf.org> writes:
    I recently discovered bigFORTH and MINOS on Bernd Paysan's web site and >decided to try it on my amd64 PC running Devuan, a Debian-based Linux >distribution.

    I was able to build and install it. The console REPL "bigforth" appears
    to work, but when I try to run the GUI "xbigforth" it crashes with the >following message:

    libX11.so.6 Library not found!
    Level: (ABORT" @LIB @SYMS $101471E6 XOPENDIPLAY $FFE44E02 $565BE3CA $FFE440C8

    (The first message is displayed in spite of the fact that package
    libx11-6 is already installed.)

    Any clue what I'm doing wrong?

    I don't know what's wrong. I would try to use strace to find out
    which file xbigforth is trying to access.

    In any case, if the interest is in MINOS, Bernd Paysan is now using
    Gforth and MINOS2 <https://fossil.net2o.de/minos2/index> as the basis
    for his net2o work:
    <https://fossil.net2o.de/net2o/doc/trunk/wiki/net2o.md>

    - anton
    --
    M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
    comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
    New standard: https://forth-standard.org/
    EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/
    EuroForth 2024 proceedings: http://www.euroforth.org/ef24/papers/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anton Ertl@21:1/5 to David Meyer on Thu Jul 3 14:56:55 2025
    David Meyer <papa@sdf.org> writes:
    What are the major differences between bigFORTH and gforth?

    From a practical view: AFAIK bigForth is no longer maintained, while
    Gforth is (and Bernd Paysan, the author of bigForth, has put a lot of
    work into Gforth in the last decade). Also, bigForth only has IA-32
    (32-bit Intel/AMD) and 68k support, while Gforth runs on a wide range
    of architectures, including AMD64 (64-bit Intel/AMD) and ARM A64.

    Genealogically Gforth was started by using a lot of the Forth part of
    BigForth and porting it to the Gforth engine. So at some point in the
    1990s there was a lot of commonality, and there has been some cross-fertilization over the years, but eventually Bernd put the focus
    on Gforth.

    - anton
    --
    M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
    comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
    New standard: https://forth-standard.org/
    EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/
    EuroForth 2024 proceedings: http://www.euroforth.org/ef24/papers/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Schultz@21:1/5 to Paul Rubin on Thu Jul 3 14:47:01 2025
    On 7/3/25 11:30 AM, Paul Rubin wrote:
    David Meyer <papa@sdf.org> writes:
    libX11.so.6 Library not found!
    (The first message is displayed in spite of the fact that package
    libx11-6 is already installed.)

    Any clue what I'm doing wrong?

    Maybe you need libx11-dev ?
    It would fail at the compile stage if that were the problem. More likely
    is that the version required isn't there. On my system I find:

    $ locate libX11.so
    /usr/lib/libX11.so.6
    /usr/lib/libX11.so.6.4.0
    /usr/lib64/libX11.so
    /usr/lib64/libX11.so.6
    /usr/lib64/libX11.so.6.4.0

    Both 32 and 64 bit versions.But oddly there isn't a 32 bit libX11.so.
    (Just a link as are most of these.)

    --
    http://davesrocketworks.com
    David Schultz
    "The cheaper the crook, the gaudier the patter." - Sam Spade

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David Meyer@21:1/5 to Anton Ertl on Thu Jul 3 21:37:31 2025
    anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:

    In any case, if the interest is in MINOS, Bernd Paysan is now using
    Gforth and MINOS2 <https://fossil.net2o.de/minos2/index> as the basis
    for his net2o work:
    <https://fossil.net2o.de/net2o/doc/trunk/wiki/net2o.md>

    What are the major differences between bigFORTH and gforth?

    --
    David Meyer
    Takarazuka, Japan
    papa@sdf.org

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Paul Rubin@21:1/5 to David Meyer on Thu Jul 3 09:30:05 2025
    David Meyer <papa@sdf.org> writes:
    libX11.so.6 Library not found!
    (The first message is displayed in spite of the fact that package
    libx11-6 is already installed.)

    Any clue what I'm doing wrong?

    Maybe you need libx11-dev ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From minforth@21:1/5 to All on Fri Jul 4 12:18:56 2025
    Am 03.07.2025 um 21:47 schrieb David Schultz:
    On 7/3/25 11:30 AM, Paul Rubin wrote:
    David Meyer <papa@sdf.org> writes:
          libX11.so.6 Library not found!
    (The first message is displayed in spite of the fact that package
    libx11-6 is already installed.)

    Any clue what I'm doing wrong?

    Maybe you need libx11-dev ?
    It would fail at the compile stage if that were the problem. More likely
    is that the version required isn't there. On my system I find:

    $ locate libX11.so
    /usr/lib/libX11.so.6
    /usr/lib/libX11.so.6.4.0
    /usr/lib64/libX11.so
    /usr/lib64/libX11.so.6
    /usr/lib64/libX11.so.6.4.0

    Both 32 and 64 bit versions.But oddly there isn't a 32 bit libX11.so.
    (Just a link as are most of these.)

    AFAIK 32-bit libs have to be installed manually. The wole shebang:

    sudo apt update
    sudo apt-get upgrade
    sudo apt-get install build-essential
    sudo apt-get install gcc-multilib

    With gcc, you'll also need the -m32 compiler flag.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From albert@spenarnc.xs4all.nl@21:1/5 to minforth@gmx.net on Sat Jul 5 14:31:28 2025
    In article <mcpo4hFb9i9U1@mid.individual.net>,
    minforth <minforth@gmx.net> wrote:
    Am 03.07.2025 um 21:47 schrieb David Schultz:
    On 7/3/25 11:30 AM, Paul Rubin wrote:
    David Meyer <papa@sdf.org> writes:
          libX11.so.6 Library not found!
    (The first message is displayed in spite of the fact that package
    libx11-6 is already installed.)

    Any clue what I'm doing wrong?

    Maybe you need libx11-dev ?
    It would fail at the compile stage if that were the problem. More likely
    is that the version required isn't there. On my system I find:

    $ locate libX11.so
    /usr/lib/libX11.so.6
    /usr/lib/libX11.so.6.4.0
    /usr/lib64/libX11.so
    /usr/lib64/libX11.so.6
    /usr/lib64/libX11.so.6.4.0

    Both 32 and 64 bit versions.But oddly there isn't a 32 bit libX11.so.
    (Just a link as are most of these.)

    AFAIK 32-bit libs have to be installed manually. The wole shebang:

    sudo apt update
    sudo apt-get upgrade
    sudo apt-get install build-essential
    sudo apt-get install gcc-multilib

    With gcc, you'll also need the -m32 compiler flag.

    The theory is that assembler Forth are less portable.
    I had a 64 bit ciforth running in a matter of weeks (2008).
    (But macro's handling 16/32 difference were in place already)

    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.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anton Ertl@21:1/5 to albert@spenarnc.xs4all.nl on Sat Jul 5 14:35:39 2025
    albert@spenarnc.xs4all.nl writes:
    The theory is that assembler Forth are less portable.
    I had a 64 bit ciforth running in a matter of weeks (2008).

    Gforth ran on AMD64 out of the box in 2003. With a little more effort
    (<2h) some additional performance features were enabled. Similar on
    IA-64 (2003), ARM A64 (2014), and RV64GC (2018).

    - anton
    --
    M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
    comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
    New standard: https://forth-standard.org/
    EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/
    EuroForth 2024 proceedings: http://www.euroforth.org/ef24/papers/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)