Project

General

Profile

BuildAnubisFromSources64bits » History » Version 7

Masaki Abe, 10/25/2025 03:11 AM

1 5 David RENÉ
h1. Build Anubis From Sources on linux 64bits
2 1 David RENÉ
3 7 Masaki Abe
h2. Required dependencies
4
5 1 David RENÉ
Anubis compile as 32 bits application.
6
Hence we must install multilib to compile.
7
8
On debian 
9
10
<pre>
11
apt-get install gcc-multilib
12
apt-get install g++-multilib
13
</pre>
14 2 David RENÉ
15 3 David RENÉ
to compile Anubis compiler and VM we use scons (multi platform make).
16
Need bison and flex for building the Anubis compiler
17 2 David RENÉ
18
<pre>
19 1 David RENÉ
apt-get install scons
20 3 David RENÉ
apt-get install bison
21
apt-get install flex
22 1 David RENÉ
</pre>
23 3 David RENÉ
24 7 Masaki Abe
h2. Get sources
25 1 David RENÉ
26 7 Masaki Abe
<pre>
27
git clone https://gitlab.anubis-lang.com/anubis/anubis.git
28
# switch to current version branch
29
cd anubis && git switch ANUBIS_1_19
30
</pre>
31 1 David RENÉ
32 7 Masaki Abe
h2. Compile
33
34 2 David RENÉ
+Compiler:+
35 1 David RENÉ
36 2 David RENÉ
<pre>
37 7 Masaki Abe
cd anubis_dev/compiler
38 2 David RENÉ
scons
39 1 David RENÉ
</pre>
40 5 David RENÉ
41
+VM:+
42
43
At first you must compile the OpenSSL in third_dev directory to be able to compile the VM correctly.
44
45 6 David RENÉ
see [[BuildOpenSSLForAnubisVM|here]] to how to compile the OpenSSL for Anubis VM.
46
47
Now to compile the VM, go to vm folder and execute scons with the desire options
48
49
<pre>
50
cd anubis/anubis_dev/vm
51
scons GUI=0
52
</pre>