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