Currently, gjrand provides a C programmer's library with generators for:
Also of interest is version 2.3.0.0 which has almost identical API but uses a very different generator internally. This can be useful for running a simulation twice with different generators to gain confidence that bad random numbers are not causing artifacts.
There were known bugs in almost all versions up to 1.2.0.0, fixed in 1.3.0.0 and later. A more minor bug was in 3.0.0.0 only.
Earlier versions were developed and tested on a 32bit X86 GNU/Linux platform, and recent ones on 64bit X86 GNU/Linux. As far as i know the current version hasn't been tested on anything else.
Version 1.1.0.0 and a few earlier ones were tested on most of the SourceForge compiler farm machines. These were all approximately Posix (Linux, BSD, MAC OS X, Solaris) with Gcc. The compile farm shut down in February 2007 so such portability testing is no longer possible. If you have portability problems or fixes please post on gjrand SourceForge forums.
If attempting to port it will be easiest with an ANSI C compiler with support for at least a few C99 features, stdint.h especially. Gcc has had this for years. Also it will be easiest on POSIX or near approximation. If using MS-Windows, Cygwin with GCC is recommended (though i haven't tried even this). Other options may need significant porting effort.