Simulations, Modeling, Algorithms, Ada
Note that rebuilding the executable should, in most cases, NOT be necessary. I believe the delivered Mac executable will run on any recent version of OS-X, and that the delivered Linux executable should run on many recent distributions.
Build scripts for GNAT2015 or newer are provided. Suggestions or help improving the build process is welcome.
**MacOSX** => ocmp.sh:
build script for generating a portable executable that will run on most OS-X platforms whether or not they have non-standard libraries SDL2 or SFML installed. This is used to build the executable named adagate_osx. Macs with a recent but standard configuration of OS-X should be able to rebuild using this script, assuming you have GNAT GPL installed.
**GNU/Linux** => scmp3.sh
utilizes the non-standard static libraries SDL2 & SFML, as well as other more common shared libraries that are delivered in this bundle under ./gnulibs/. This is used to build the [gnu/linux] executable, which should run in the presence of ./gnulibs/, whether or not your system has those shared libraries installed. Note that the runtime loader will prefer system libraries if they are present.
The current build is compiled on OpenSUSE v13.2, and uses GLIBC 2.14 [dating from june 2011]. This generally means that if your linux distro uses glibc v2.14 or newer, then the prebuilt binary should probably run on your system (and be rebuildable).
If the delivered linux binary does not run...
* Manually install GNAT GPL from libre.adacore.com/download/.
* Rerun the compile script scmp3.sh.