Pre compiled gnu scientific library for win one-click-instal


hi all-

after a but of hacking with msys and mingw i think i’ve compiled an easy
install version of the rb-gsl bindings. for those of you who don’t know
these are, the gnu scientific library (gsl) is by far the best
collection of
open source algorithms for scientific computing available. you can read
the gsl and ruby bindings to it here

the installer also installs the amazing narray package, which integrates
nicely with the gsl

this is the first thing i’ve compiled using the msys/mingw approach so
i’m not
100% certain that my approach – which i’ll be writing up on the sciruby
( in a few days and which applies to
compiling any posix package under windows in a way that’s one-click
– is the best one.

because of this please consider this pre-release experimental. the
purpose of
my releasing it now is to uncover any gotchas before writing up the
for others to follow.

here are the steps to install

that’s it.

you should now be able to run something like this from the dos prompt


c:\ruby\bin\ruby -r gsl -e’ p ’

which print out a random numder. it’s important to unset the RUBYOPT
environment variable as the gsl and rubygems have a naming conflict with
Rational class that i’ve not yet found a resolution too.

i’m in uncharted territory here so any and all comments are welcome.