From: Haoqi Haoqi Date: 2007-04-28T12:36:40+09:00 Subject: Re: RubyInline 3.6.3 Released hello,I added "ENV['HOME']='./'",then get errors: cl : Command line warning D9035 : option 'Og-' has been deprecated and will be removed in a future release cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release cl : Command line warning D9002 : ignoring unknown option '-G6' c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:391:in `build': error executing cl -nologo -LD -MD -Zi -O2b2xg- -G6 -I c:/ruby/lib/ruby/1.8/i386-mswin32 -I c:/ruby/include -o "./.ruby_inline/Inline_MyTest_cb89.so" "C:/ruby_in_line/.ruby_inline/Inline_MyTest_cb89.c" -link /LIBPATH:"c:/ruby/lib" /DEFAULTLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no /EXPORT:Init_Inline_MyTest_cb89: 512 (CompilationError) Renamed ./.ruby_inline/Inline_MyTest_cb89.c to ./.ruby_inline/Inline_MyTest_cb89.c.bad from c:/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:660:in `inline' from test2.rb:6 require "pp" require "inline" ENV['HOME']='./' class MyTest inline do |builder| builder.c " long factorial(int max) { int i=max, result=1; while (i >= 2) { result *= i--; } return result; }" end end t = MyTest.new() factorial_5 = t.factorial(5) -- Posted via http://www.ruby-forum.com/.