From: nobu.nokada@... Date: 2005-07-22T21:53:44+09:00 Subject: Re: extconf.rb does the wrong thing? Hi, At Fri, 22 Jul 2005 18:00:56 +0900, Bjoern wrote in [ruby-talk:149164]: > I am trying to build a program that comes with a ruby extension. It > seems extconf.rb does all the wrong things, though. For example it seems > to set 'cl' as the compiler, whereas I want to use gcc (from MinGW). If > I edit the makefile to change cl to gcc, I get a 'gcc: no input files'. > However, I don't really know anything about gcc compiler flags. You use ruby compiled with VisualC++, but will need ruby compiled with mingw to compile an extension with mingw. What mkmf.rb does is system/platform dependent configuration, so you can't use it for other platforms. -- Nobu Nakada