On 5/19/07, Guillermo Alcantara <guillermo.alcantara / gmail.com> wrote:
> Tim Pease wrote:
> > RubyInline uses the configuration and compilation settings from the
> > Ruby interpreter to find the compiler and compile options. The Windows
> > one-click installer was compiled using Microsoft's Visual C++ 6.0
> > compiler suite. You will need this compiler installed on your machine
> > to use RubyInline. The Cygwin gcc compiler will not work for you.
> >
> > Blessings,
> > TwP
>
> Is there a way I could setup RubyInline to use a different
> configuration? If not, maybe I should try to give a patch or something.
> It's strange to have a compiler hardwired. Thanks.
>

If you're on Windows, then you'll need to use the mingw compilers.
They will generate a shared library that is compatible with the
Windows DLL world.

You can tell RubyInline to use a different compiler. This is done by
hacking the rbconfig.rb file located in your Ruby installation. On my
Windows box this is:

C:\Program Files\ruby\lib\ruby\1.8\i386-mswin32\rbconfig.rb

Have fun!

TwP