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