1. Gregor Richards
  2. openwatcom

Wiki

Clone wiki

openwatcom / Home

Buildable OpenWatcom

I was tired of how difficult it was to build OpenWatcom on GNU/Linux. I like to build F/OSS things myself. This repo includes the necessary changes to OpenWatcom's build scripts to build a complete OpenWatcom on x86 GNU/Linux. It will also build on x86_64, so long as you have the necessary x86 libraries for bootstrapping (libc and libstdc++). Since OpenWatcom builds static binaries based on its own C and C++ libraries, these dependencies are only required for bootstrapping.

I've only changed the build scripts; it was possible but extraordinarily difficult to do a complete build with the mainline, due to some incorrect bootstrap dependencies and circular non-bootstrap dependencies. My version builds on GNU/Linux but probably will not build on DOS, Windows, etc.

To build it, check it out OVER a fresh extraction of OpenWatcom:

$ pwd
.../OW19
$ hg clone -U https://bitbucket.org/GregorR/openwatcom
...
$ mv openwatcom/.hg .
$ rmdir openwatcom/
$ hg up -C

Then use buildfull.sh to build it:

$ bash buildfull.sh

Hopefully it will work. If it doesn't, tell me :)

Updated