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