BuildAnubisFromSources64bits
Version 5 (David RENÉ, 08/19/2022 01:14 AM) → Version 6/7 (David RENÉ, 08/19/2022 01:21 AM)
h1. Build Anubis From Sources on linux 64bits
Anubis compile as 32 bits application.
Hence we must install multilib to compile.
On debian
<pre>
apt-get install gcc-multilib
apt-get install g++-multilib
</pre>
to compile Anubis compiler and VM we use scons (multi platform make).
Need bison and flex for building the Anubis compiler
<pre>
apt-get install scons
apt-get install bison
apt-get install flex
</pre>
After all these packages installed you can start to compile.
+Compiler:+
<pre>
cd anubis/anubis_dev/compiler
scons
</pre>
+VM:+
At first you must compile the OpenSSL in third_dev directory to be able to compile the VM correctly.
see [[BuildOpenSSLForAnubisVM|here]] [[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
<pre>
cd anubis/anubis_dev/vm
scons GUI=0
</pre>
Anubis compile as 32 bits application.
Hence we must install multilib to compile.
On debian
<pre>
apt-get install gcc-multilib
apt-get install g++-multilib
</pre>
to compile Anubis compiler and VM we use scons (multi platform make).
Need bison and flex for building the Anubis compiler
<pre>
apt-get install scons
apt-get install bison
apt-get install flex
</pre>
After all these packages installed you can start to compile.
+Compiler:+
<pre>
cd anubis/anubis_dev/compiler
scons
</pre>
+VM:+
At first you must compile the OpenSSL in third_dev directory to be able to compile the VM correctly.
see [[BuildOpenSSLForAnubisVM|here]] [[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
<pre>
cd anubis/anubis_dev/vm
scons GUI=0
</pre>