Linux
-----
1. Edit the Makefile (yeah, yeah, I know... it's archaic and I should be
using automake or something...). There are not many settings you need to
modify here. Basically, there are three defines you may want to modify:
CHM_MT: build library with synchronization for thread-safety
CHM_USE_PREAD: use pread instead of lseek/read
CHM_USE_IO64: support 64-bit file I/O
Modify the INSTALLPREFIX to change the installation location.
2. make
3. su
make install
To use the library, see chm_lib.h, and the included example programs: