Ok, I'll need to move the definitions/code to pure nim first and get them working that way. Some of these may not be available on all posix systems. Right now I'm just targeting Linux for the code that uses those, but I'll be targeting MacOS X as well.
Oh, I really like it how one can use nim compiled for one platfrom to compile code for other platforms, by specifying the correct OS and making sure the correct cross compiling C compiler is in your path first. Doing this I was able to from Linux successfully build Linux, Windows, and MacOS X executables. That is very cool.
