I posted this on Reddit and was reminded that I should post here. Hopefully of use to others.
I'm leaving this here in case it helps anyone else. The instructions at [gforth.org](http://gforth.org) are mostly correct. Here's what I did that works: Using brew install: * automake * cmake * coreutils * gawk * gnu-getopt * gnu-sed * gcc (gcc@14, see below) * sdl2 * swig * texinfo * sdl2 * mactex * xquartz * mesa Swig, TeX, quartz, and friends, will all be picked up by the `install-deps.sh` script if you miss those. To make sure that the gnu tools are found I added the following to my `.zshrc`: ``` # insert gnu tools if type brew &>/dev/null; then HOMEBREW_PREFIX=$(brew --prefix) # gnubin; gnuman for d in ${HOMEBREW_PREFIX}/opt/*/libexec/gnubin; do export PATH=$d:$PATH; done for d in ${HOMEBREW_PREFIX}/opt/*/libexec/gnuman; do export MANPATH=$d:$MANPATH; done fi ``` Because of [PATCH Fix signatures for getenv/getopt](https://lists.gnu.org/archive/html/bug-make/2025-03/msg00032.html) I installed `gcc@14`. Add CC=gcc-14 on `make`. Installing to system directories with `sudo make install` was a mess. Apple has botched up permissions and access. I installed to a local prefix `$HOME\.local` and the install looks correct when I compare it to a brew install of gforth 0.7.3. When starting gforth the `gforth.fi` file is not found, and even though I had specified a prefix on the install, gforth is looking in the system directories under `/usr/local`. The gforth manual seems to say that I should set `GFORTHPATH` to my `$HOME/.local/share/gforth/0.7.9...` but this doesn't work. `$HOME/.local/lib/gforth/0.7.9...` does. Cheers
