Compiling GBM and GBM PM-Tools

GBM.DLL, the GBM command line tools, GBMV, GBMV2, GBMDLG, GBMLOGO and GBMVFSA can be built for OS/2 (and eComStation) using the following compilers:

Additional stuff required:

Optional tools:

Unzip the source package into an empty directory. Ensure that the listed requirements are fulfilled. The environment for the chosen compiler must be active in the shell to be used for compiling.

Have look at the file readme.build in the root directory of the source archive. It explains again how to compile.

General steps:

  1. First set path to lxlite executable/dll compressor in nmake.opt if you want to compress all EXEs and DLLs.

  2. Building with IBM Visual Age C++ 3.08:

  3. Building with Open Watcom 1.4:

Note:
You can build all sources at once by starting nmake/wmake in the root directory of the source archive.

Note:
The created import library for GBM.DLL can be used with any other OS/2 compiler/linker. Beware that the utility archive libraries are compiler dependent and thus can only be linked with the compiler that created them.