ffi-compiler is a ruby library for automating compilation of native libraries for use with ffi. OK sthen@