Build Anubis From Sources on FreeBSD 64bits¶
Anubis compile as 32 bits application.
Hence we must install multilib to compile.
On FreeBSD
pkg install gcc-multilib pkg install g++-multilib
to compile Anubis compiler and VM we use scons (multi platform make).
Need bison and flex for building the Anubis compiler
pkg install git pkg install scons pkg install bison pkg install flex
After all these packages installed you can start to compile.
Compiler:
cd anubis/anubis_dev/compiler scons
VM:
At first you must compile the OpenSSL in third_dev directory to be able to compile the VM correctly.
see here to how to compile the OpenSSL for Anubis VM.
Now to compile the VM, go to vm folder and execute scons with the desire options
cd anubis/anubis_dev/vm scons GUI=0