wiki:Building

Building the drivers

Install OpenWatcom

The first thing you need to do is install OpenWatcom 1.9 or higher. You need to install at least the 16-bit and 32-bit OS/2 targets. It is assumed that you will be installing the OS/2 hosted version of Open Watcom.

Install the DDK

If you are going to build uniaud16, you need to install the IBM Driver Development Kit (DDK) Toolkit. IBM no longer makes this toolkit publicly available. The long term plan is to implement open source versions of the DDK headers in OpenWatcom and this will eliminate the need for the DDK to build Uniaud.

Install ilink or lxlite

Either ilink or wlink can be used, but when using wlink, lxlite is required to shrink the binary to a reasonable size.

Configure the build environment

Ensure the WATCOM and DDK variables are setup to point to where they're installed. Set ROOT to point to the location of the uniaud source

Build uniaud32

cd uniaud32_workspace\trunk

To build uniaud32, do whatever you do that make the OpenWatcom available in the current command line session and then

!m_kee.cmd

wmake

A full build should take less than 5 minutes on reasonably capable hardware and should complete without errors or warnings.

It is considered bad practice to commit sources that do not build error and warning free to the subversion repository. However, when multiple developers are making concurrent changes, this can happen.

Build uniaud16

To build uniaud16

cd uniaud16_workspace\trunk
wmake drv

A full build should take less than 5? minutes on reasonably capable hardware and should complete without errors or warnings

Last modified 3 years ago Last modified on Jan 26, 2021, 8:07:02 AM