next up previous
Next: Compiler switches Up: Developers Manual Previous: Our first Cubic-DLL

Compiling OPENCP

This chapter tells you how to compile the OPENCPsuite on the various architectures.

The reference compiler used is Watcom C++ 11.0 from Sybase for the C code and the TASM assembler from Borland/Inprise for assembler codes. OPENCPis made using the wmake program from the Watcom Compiler tools. If you have those programs you should have no problems building OPENCP.

Compiling is easy once you have installed your tools in the right place and they are reachable via the path statement. Unpack the source distribution into a seperate directory and ''make'' the program by typing


The wmake utility accepts some parameters. Only one of the following may be supplied at a time.

all
compile OPENCP(this is like supplying no switch)
install
compile the program and the copy program into the \bin directory.
clean
delete all compiled .obj files
distclean
delete all files that have been ''made'' once. This is like unpacking the source distribution again.



Subsections

documentation by doj / cubic