Due to a bug in the private head manager, requires the -noPHM flag.
This is a SaC module that wraps around the SDL (version 1) library and can be used for visualisation or graphical interfaces.
You'll need to have installed sac2c and have a copy of the Stdlib installed as well.
You'll also need to have the SDL3 C-library and most likely operational pthreads.
The project uses cmake-common.
Upon cloning this repo it is important initialize submodules.
git submodule update --init --recursive
makeWhen running CMake it is possible to pass the following variables:
-DTARGETS=x;y;z--- build stdlib for targets x, y and z. (defaults areseq; mt_pth)-DSAC2C_EXEC=/path/to/sac2c--- specifysac2cexecutable directly. Otherwise CMake will try to findsac2con yout PATH.-DLINKSETSIZE=n--- set-linksetsize nwhen callingsac2c. This option is responsible for the number of C functions that are put in a single C file when compiling a SaC program. The rule of thumb:-
value
0is the fastest time-wise but potentially results in a large memory consumption -
value
1reduces the memory consumption to minimum, buy significantly increases compilation time.Default value: 500.
-