mirror of
https://git.sr.ht/~crc_/retroforth
synced 2024-11-16 19:48:56 +01:00
add BUILDING overview document
FossilOrigin-Name: 16f0af806d67d782752c51932b0f5c8891ae278d587de93796ea0aca43735d0d
This commit is contained in:
parent
41089951f9
commit
332cf1a4a2
1 changed files with 32 additions and 0 deletions
32
BUILDING.md
Normal file
32
BUILDING.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Building RetroForth
|
||||
|
||||
This is a quick overview of how to build Retro on a BSD, Linux,
|
||||
or macOS system. It assumes you already have the requirements
|
||||
(c compiler, make) setup in your command line environment.
|
||||
|
||||
## Standard Builds
|
||||
|
||||
A standard build should just require running `make`:
|
||||
|
||||
make
|
||||
|
||||
This will build the toolchain and a binary runtime for retro.
|
||||
These will be placed in the `bin` directory.
|
||||
|
||||
## Customized Builds
|
||||
|
||||
The basic system provides most of the functionality, but you
|
||||
can enable or disable specific elements by editing either
|
||||
the Makefile (on BSD) or GNUmakefile (or Linux or macOS).
|
||||
|
||||
Find the fourth section in the Makefile and either uncomment
|
||||
or comment the ENABLED and DEVICES lines for the optional parts
|
||||
you want to include in your build.
|
||||
|
||||
Most functionality is enabled by default. Optional things you
|
||||
may wish to enable include sockets, ffi, and multicore.
|
||||
|
||||
## More Complex Customizations
|
||||
|
||||
There are additional things you can update. Take a look in the
|
||||
manual for more tedails on this.
|
Loading…
Reference in a new issue