| 1 | = OS/2 Build Instructions = |
| 2 | |
| 3 | The OS/2 port is '''not''' yet completed. These instructions are here for those who wish to help out. |
| 4 | |
| 5 | == Prerequisites on OS/2 == |
| 6 | |
| 7 | * OS/2 running on Intel hardware... ;-) |
| 8 | * GCC 3.3.5 CSD1: [[BR]] ftp://ftp.netlabs.org/pub/gcc/gcc-3.3.5-csd1.zip |
| 9 | * SDL: [[BR]] ftp://ftp.netlabs.org/pub/sdl/sdl-1.2.10-bin-20060602.zip [[BR]] Unpack this into tools/os2.x86/sdl/v1.2.10-20060602/. If you get compiler errors in the SDL headers, a small fix needs to be applied. TODO: link to patch. |
| 10 | * Later: Latest Qt3: [[BR]] ftp://ftp.netlabs.org/pub/qt3/ [[BR]] Unpack this into tools/os2.x86/qt/v3.x.y/. |
| 11 | * ... |
| 12 | |
| 13 | == Building !VirtualBox == |
| 14 | |
| 15 | 1. Load the gcc environment (gccenv.cmd). |
| 16 | 1. Change to the root directory of the sources and execute |
| 17 | {{{ |
| 18 | kBuild\envos2.cmd |
| 19 | }}} |
| 20 | 1. To build type |
| 21 | {{{ |
| 22 | kmk |
| 23 | }}} |
| 24 | The default is to a release build, should you wish to do a ''debug'' or ''profile'' build add {{{BUILD_TYPE=debug}}} or {{{BUILD_TYPE=profile}}} as argument to ''kmk'' or set it as an environment variable. |
| 25 | |
| 26 | == Running !VirtualBox == |
| 27 | |
| 28 | Since this is work in progress there are just testcases and a not very useful VBoxBFE to run at this point. If you like to see the VBoxBFE SDL window and immediatly hit an assertion, do this: |
| 29 | 1. Change directory to {{{out\os2.x86\release\bin}}} |
| 30 | 1. Add this directory to the {{{BEGINLIBPATH}}} variable (full path, remember). |
| 31 | 1. Set the env.var.: {{{VBOX_SUPLIB_FAKE=fake}}} |
| 32 | 1. Execute {{{.\VBoxBFE.exe -m 64}}}. You should now get a brief glimpse of a SDL window and then a fatal assertion saying it doesn't know how to load VMMR0.r0. |