BuildAnubisFromSources64bits
Version 6 (David RENÉ, 08/19/2022 01:21 AM)
1 | 5 | David RENÉ | h1. Build Anubis From Sources on linux 64bits |
---|---|---|---|
2 | 1 | David RENÉ | |
3 | 1 | David RENÉ | Anubis compile as 32 bits application. |
4 | 1 | David RENÉ | Hence we must install multilib to compile. |
5 | 1 | David RENÉ | |
6 | 1 | David RENÉ | On debian |
7 | 1 | David RENÉ | |
8 | 1 | David RENÉ | <pre> |
9 | 1 | David RENÉ | apt-get install gcc-multilib |
10 | 1 | David RENÉ | apt-get install g++-multilib |
11 | 1 | David RENÉ | </pre> |
12 | 2 | David RENÉ | |
13 | 3 | David RENÉ | to compile Anubis compiler and VM we use scons (multi platform make). |
14 | 3 | David RENÉ | Need bison and flex for building the Anubis compiler |
15 | 2 | David RENÉ | |
16 | 2 | David RENÉ | <pre> |
17 | 1 | David RENÉ | apt-get install scons |
18 | 3 | David RENÉ | apt-get install bison |
19 | 3 | David RENÉ | apt-get install flex |
20 | 1 | David RENÉ | </pre> |
21 | 1 | David RENÉ | |
22 | 3 | David RENÉ | |
23 | 3 | David RENÉ | After all these packages installed you can start to compile. |
24 | 2 | David RENÉ | |
25 | 2 | David RENÉ | +Compiler:+ |
26 | 2 | David RENÉ | |
27 | 2 | David RENÉ | <pre> |
28 | 2 | David RENÉ | cd anubis/anubis_dev/compiler |
29 | 2 | David RENÉ | scons |
30 | 1 | David RENÉ | </pre> |
31 | 5 | David RENÉ | |
32 | 5 | David RENÉ | +VM:+ |
33 | 5 | David RENÉ | |
34 | 5 | David RENÉ | At first you must compile the OpenSSL in third_dev directory to be able to compile the VM correctly. |
35 | 5 | David RENÉ | |
36 | 6 | David RENÉ | see [[BuildOpenSSLForAnubisVM|here]] to how to compile the OpenSSL for Anubis VM. |
37 | 6 | David RENÉ | |
38 | 6 | David RENÉ | Now to compile the VM, go to vm folder and execute scons with the desire options |
39 | 6 | David RENÉ | |
40 | 6 | David RENÉ | <pre> |
41 | 6 | David RENÉ | cd anubis/anubis_dev/vm |
42 | 6 | David RENÉ | scons GUI=0 |
43 | 6 | David RENÉ | </pre> |