Search code examples
macosgccmacos-mojaveforth

How can I compile JonesForth on OS X v10.14 (Mojave)?


Attempting to compile JonesForth on OS X, it throws:

jonesforth.S:1154:10: fatal error: 'asm/unistd.h' file not found".

So I tried this advice for Linux, but it still complains.

This PowerPC port throws other exceptions, like:

invalid instruction mnemonic 'bctr'
unexpected token in memory operand

Is there an OS X port around?


Solution

  • This port of JonesForth compiles on OS X.