• Re: Running bigFORTH on amd64

    From albert@albert@spenarnc.xs4all.nl to comp.lang.forth on Sat Jul 5 14:31:28 2025
    From Newsgroup: comp.lang.forth

    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.
    --- Synchronet 3.21a-Linux NewsLink 1.2
  • From anton@anton@mips.complang.tuwien.ac.at (Anton Ertl) to comp.lang.forth on Sat Jul 5 14:35:39 2025
    From Newsgroup: comp.lang.forth

    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/
    --- Synchronet 3.21a-Linux NewsLink 1.2