Ryan,

I was able to make some progress by modifying inline.rb to read the correct
ENV variables and got to the point where it did:

C:\>
cl -LD -nologo -MD -DNT=1 -Zi -O2b2xg- -G5 -Ic:\ruby\lib\ruby\1.7\i386-mswin
32 C:\WINDOWS\TEMP\Mod_MyTest_fastfact.c
Mod_MyTest_fastfact.c
Mod_MyTest_fastfact.obj : error LNK2019: unresolved external symbol
_rb_define_method referenced in function _Init_Mod_MyTest_fastfact
Mod_MyTest_fastfact.obj : error LNK2019: unresolved external symbol
_rb_define_module referenced in function _Init_Mod_MyTest_fastfact
Mod_MyTest_fastfact.dll : fatal error LNK1120: 2 unresolved externals

But then I did not know how to proceed ... any suggestions ?

Thanks ...
-- Shanko

"Pat Eyler" <pate / eylerfamily.org> wrote in message
news:Pine.LNX.4.44.0209101454580.26961-100000 / petrol.whirlycott.com...
> Woohoo!  another cool new toy to play with!
>
> -pate
> ---------- Forwarded message ----------
> Date: Tue, 10 Sep 2002 11:15:00 -0700
> From: Ryan Davis <ryand / zenspider.com>
> Reply-To: ruby / zenspider.com
> To: Seattle Ruby Brigade! <ruby / zenspider.com>,
>      ruby-developers / lists.ruby-support.com
> Subject: RubyInline 1.0.4 Released!
>
> RubyInline 1.0.4 has been released!
>
> Ruby Inline is my quick attempt to create an analog to Perl's
> Inline::C. The ruby version isn't near as feature-full as the perl
> version, but it is neat!
>
> Here is the output from the example bundled with the package (factorial
> 5):
>
> <507> ./example.rb slow
> RubyInline 1.0.4
> Type = Native, Iter = 1000000, time = 24.01048500 sec, 0.00002401 sec /
> iter
> <508> ./example.rb
> RubyInline 1.0.4
> Building /tmp/Mod_MyTest_fastfact.so with 'cc -shared -O -pipe  -fPIC
> -I /usr/local/lib/ruby/1.6/i386-freebsd4'
> Type = Inline, Iter = 1000000, time = 5.40564900 sec, 0.00000541 sec /
> iter
> <509> ./example.rb
> RubyInline 1.0.4
> Type = Inline, Iter = 1000000, time = 5.27179200 sec, 0.00000527 sec /
> iter
>
> I'd love feedback and fixes for other platforms! The project is on
> sourceforge at http://sourceforge.net/projects/rubyinline/
>