[Rubyinstaller-devel] rubyinline mingw

Roger Pack rogerdpack at gmail.com
Mon Jul 20 10:55:44 EDT 2009


> RubyInline works with MinGW. I've used it several times and released
> updates for ParseTree.

Hmm.

Here's my experience with it:

C:\dev\ruby\downloads\RubyInline-3.8.2\demo>gem install RubyInline
Successfully installed RubyInline-3.8.2
1 gem installed

C:\dev\ruby\downloads\RubyInline-3.8.2\demo>ruby -v hello.rb
ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]
gcc.exe: no input files
c:/ruby18/lib/ruby/gems/1.8/gems/RubyInline-3.8.2/lib/inline.rb:589:in
`build': error executing "gcc -shared -s   -g -O2  -I
c:/ruby18/lib/ruby/1.8/i386-mingw32  -I c:/ruby18/include
-Lc:/ruby18/lib -o \"C:\\\\Documents and
Settings\\\\packrd/.ruby_inline/Inline_Hello_5d41.so\" \"C:/Documents
and Settings/packrd/.ruby_inline/Inline_Hello_5d41.c\"
-Wl,--enable-auto-import -Lc:/ruby18/lib -lmsvcrt-ruby18": 256
(CompilationError)
Renamed C:\Documents and
Settings\packrd/.ruby_inline/Inline_Hello_5d41.c to C:\Documents and
Settings\packrd/.ruby_inline/Inline_Hello_5d41.c.bad
        from c:/ruby18/lib/ruby/gems/1.8/gems/RubyInline-3.8.2/lib/inline.rb:819:in
`inline'
        from hello.rb:7


C:\dev\ruby\downloads\RubyInline-3.8.2\demo>gem uninstall RubyInline
...
Successfully uninstalled RubyInline-3.8.2

C:\dev\ruby\downloads\RubyInline-3.8.2\demo>gem install rogerdpack-RubyInline
Successfully installed rogerdpack-RubyInline-3.8.2.1
1 gem installed

C:\dev\ruby\downloads\RubyInline-3.8.2\demo>ruby -v hello.rb
ruby 1.8.6 (2009-03-31 patchlevel 368) [i386-mingw32]
hello world

Thanks.
=r


More information about the Rubyinstaller-devel mailing list