tar zxvf gb.tar.gz cd gb make sudo make installInstalled files are /usr/local/lib/libgb.so and /usr/local/include/gb.h.
Installation (creates /usr/local/lib/libggb.so, /usr/local/include/ggb.h, and /usr/share/gforth/site-forth/ggb-01.fs):
tar zxvf ggb-01.tar.gz cd ggb-01 make sudo make installAfter installation, start gforth as root:
sudo gforth require ggb-01.fs ...The first time you use the ggb-01 library, you may notice a startup delay as gforth will create ggb_01 C and object files in your ~/.gforth/libcc-named/ directory. Thereafter, there will be no startup delay as these files will be used automatically whenever you require ggb-01.fs.
Example using dtoa.fs which provides a dtoa command to test D/A conversion:
sudo gforth dtoa.fs dtoaggb-01.tar.gz - download
src - browse files
References:
element14.com
http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/
- Gforth Manual
section 5.25 - C Interface