Skip to content

Instantly share code, notes, and snippets.

@sbp
Created July 20, 2017 19:42
Show Gist options
  • Save sbp/5203d7edff586772eb15141caf78a516 to your computer and use it in GitHub Desktop.
Save sbp/5203d7edff586772eb15141caf78a516 to your computer and use it in GitHub Desktop.
How to run the J1 eForth by @samawati on macOS
#!/bin/sh
git clone https://github.com/samawati/j1eforth
cd j1eforth
brew install gforth libpcap
LDFLAGS=-L/usr/local/opt/libpcap/lib CPPFLAGS=-I/usr/local/opt/libpcap/include gcc -o j1 -lpcap j1.c
gforth j1.4th
./j1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment