Join GitHub today
Compiling on Unix
How to Compile pForth on Unix or Mac
We provide a simple Makefile for compiling.
- CD to "build/unix"
- Enter: make all
This is a complete build. It will create an executable image and associated "pforth.dic" file in the "fth/" folder.
Comment by kristopherdjohnson, Dec 9, 2014 To build pForth using the Xcode 6.x toolchain, you need to remove the following options from FULL_WARNINGS in unix/Makefile: -c89 -fpeephole
It will also create a standalone executable image that includes the dictionary compiled inside. To run it enter:
Enter: make test
Return to Home