retroforth/doc/book/building/unix
crc 787d2c75f3 book: add Haiku R1/Beta 2 build instructions
FossilOrigin-Name: 5d44c542d44634fe475c24ee72259d601c730a9abc2a0da876319a6702bb60f9
2020-06-17 18:11:46 +00:00

50 lines
859 B
Text

# Building on BSD, Linux, macOS, and outher Inix Targets
RETRO is well supported on BSD (tested on FreeBSD, NetBSD,
OpenBSD), Linux, and macOS systems. It should build on any
of these without issue.
## Requirements
- c compiler & linker
- standard headers
- make
## Process
For a standard 32-bit system:
Run `make`
For a 64-bit system:
Run `make OPTIONS=-DBIT64`
This will build the toolchain and then the main `retro`
executable.
## Executables
In the `bin/` directory:
retro
retro-unu
retro-muri
retro-extend
retro-embedimage
retro-describe
## Platform Specific Notes
### Haiku
To build on Haiku, you need to link with the *network* library.
E.g.:
make LDFLAGS=-lnetwork
## Issues
If you run into any build issues, please send details to
crc@forth.works so I can work on addressing them as quickly
as possible.