Navigation  without Java Scripts

The LIB Directory

The files in the LIB directory are organized in sub-directories depending on the platform, and depending on which C compiler they support. The Application Expert can be used to set up the correct libraries and object files for linking. The files are named for the different platforms and supported C compilers. The following table gives a brief overview of the purpose of the files:

File Purpose
PROLOG.LIB The Prolog library with all standard predicates
COMPILER.LIB Prolog library but also contains the compiler
INIT.OBJ Prolog startup file, when C is not used
DLLENTRY.OBJ Prolog startup file for .DLLs when C is not used
PDCGROUP.OBJ Required group definitions when linking with C, this file must occur before the first Prolog module during linking.
WIN16.LIB Windows 16-bit import library
DOSCALLS.LIB OS/2 16 bit import library
PHAPI.LIB PharLap 16 bit import library
CMAIN.OBJ The compilation of FOREIGN\CMAIN.C
GEN.BAT File to compile the C support files on each platform