The files you need for building C/C++ programs are all contained on the DP4 CD ROM. The C include files are in the include subdirectory for each release. Unix format versions are contained in the ccunx.tar far file in the unix subrectory, (they are identical to the regular versions apart from using Unix newlines instead of the usual CRLF line termination). They can be installed using the DP4 Install program for your version of DP4, or you can simply copy them directly from the CD ROM, either all at once, or as you find you need them.
You will need to ensure that your compiler knows where these files are. You can usually do this in two ways:
Most compilers support the INCLUDE environment variable (Metaware C uses IPATH instead). If you are using Visual C++ then you can set the directories used in the directory Tab of the Tools/Options Dialog.
Most compilers also allow you to specify include file directories using the -I command line option.
The DP4 C library files are slightly more complicated. The DP4 C library is usually called ccown.lib or ccown.a, and can be found either in the appropriate TAR file (for Unix and Linux - see the Unix package list for details) or it will be installed as part of the C programming support when you run the DP4 install program. On Legacy platforms the library is called xc own y .lib where xc depends on the compiler and y depends on the memory model. The library for Windows 9x/NT etc is called ntown.lib. All these files are contained in appropriate locations on the DP4 CD ROM and can be installed with the DP4 Install program or copied manually. The two versions of the QAB library are named in the same way, so that xcowny.z becomes xcqaby.z or xcqabdy.z (so ntqab.lib and ntqabd.lib are the release and debug versions of the QAB libraries on Windows 9x/NT; these become ccqab.lib and ccqabd.lib on Windows CE, and ccqab.a and ccqabd.a on Unix and Linux).
As with header files the C compiler (or linker) needs to know where your libraries are to be found. This is usually done using the LIB environment variable. On Unix libraries are usually named libsomename and all stored in the same directory (possibly using symbolic links). You can use mv to use the same scheme for the DP4 libraries, or you can simply specify the file name on the cc command line (which is what we do).
LIBMAKE is normally installed as part of the base DP4 installation as are the conversion tools used for converting legacy programs between the supported operating systems, and KENTCURS, which can be used to set version information into files and apply patches of various types to executables that have already been built.