Tim Pease
5/19/2007 7:22:00 PM
On 5/19/07, Guillermo Alcantara <guillermo.alcantara@gmail.com> wrote:
> Hi, I'm trying to use RubyInline in winxp. I discovered that one needs
> to create a HOME environment variable and install a c/c++ compiler.
> Therefore, I installed cygwin and it's gcc. Do anyone knows how to mix
> gcc with RubyInline? I installed it with a plain "gem install
> rubyinline".
>
> I have ruby 1.8.5 and rubyinline 3.6.3.
>
If you are trying to use RubyInline from the Cygwin Ruby interpreter,
then all should work well. However, if you are using the Windows
one-click installer, then RubyInline is not going to work in the
configuration you described.
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