Programs using the PBC library should include the file
pbc.h:
#include <pbc.h>
and linked against the PBC library, e.g.
gcc program.c -L. -lpbc
The file pbc.h includes
gmp.h thus all GMP functions are
available.
To catch certain bugs, first define the PBC_DEBUG symbol
before including pbc.h:
#define PBC_DEBUG #include <pbc.h>
The program will now abort when PBC detects a statement incorrectly mixing elements from different algebraic structures. Note these checks are performed at runtime, so this feature should be disabled for production builds.