On Thu, Jan 22, 2009 at 10:35 AM, Nobuyoshi Nakada <nobu / ruby-lang.org> wrote: >> Hmm? And how do you call configure to do that? > > ./configure CC="gcc -mno-cygwin" Wow! Thanks a lot. :) Good to know, although cygwin bug (in that tries to link with libraries in /usr/lib even under -mno-cygwin) is annoying. Still, my patch won't break cygwin compilation as build_os in case of cygwin is cygwin and my path transformations only apply when build_os is mingw32. :)