From: Eric Hodel Date: 2007-01-24T03:56:26+09:00 Subject: Re: How do I tell extconf.rb/mkmf NOT to try and use cl.exe On Jan 23, 2007, at 10:52, Wes Gamble wrote: > I'm trying to compile an extension on Windows using ruby extconf.rb. > > However, if I try it in Cygwin or in a command window (with MinGW's > bin > directory in the PATH), it fails and the mkmf.log file shows that the > "cl" executable is being run. > > I don't have a "cl" on my Windows system, so I need gcc to be used. > > How do I indicate to mkmf.rb that I'm running under Cygwin or MinGW? Rebuild ruby with cygwin/mingw. You can't necessarily link cygwin/ mingw libraries into your ruby. -- Eric Hodel - drbrain@segment7.net - http://blog.segment7.net I LIT YOUR GEM ON FIRE!