-
Notifications
You must be signed in to change notification settings - Fork 106
Compiling on Unix
mwgkgk edited this page Jun 2, 2021
·
3 revisions
We provide a simple Makefile for compiling.
- CD to "platforms/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:
./pforth_standalone
Enter: make test
Return to Home