The documentation below refers to the
PDCLib is built with Jam. The only tested and supported version is FT Jam 2.5.3rc2, which you can find here.
PDClib requires at minimum a C99 capable compiler, and recommends a C11 capable one. The following compilers are suggested:
Compilers which are partially working
Other compilers which may work, but are untested:
Compilers which will not work
Future directions include a better compiler abstraction and detection system.
Specify the C compiler to be used to build PDClib with the CC environment variable.
The PDCLib tests at present assumes GNU LD, or compatible linker. Removing this requirement is a target.
PDCLib itself requires a simple librarian.
PDCLib itself can be built by issuing
# Win32 only: must specify which toolchain is in use export JAM_TOOLSET=MINGW # If not building for the host platform export PDCLIB_PLATFORM=your_platform # -q will cause Jam to exit after the first error. jam -q
To speed up the compilation, you may wish to pass -jN (where N is the number of processes to run in parallel) as a parameter to Jam, as this will speed up the compilation.
PDClib includes two sets of tests:
jam test. These are built against PDCLib itself, and are therefore form a functionality test suite
jam regtest. These the mostly same tests, but run against your compiler's default C library. They serve two functions: