From: Alexey Borzenkov Date: 2009-01-22T15:55:25+09:00 Subject: [ruby-core:21512] Re: [PATCH] Allow building ruby with mingw On Thu, Jan 22, 2009 at 5:08 AM, Nobuyoshi Nakada wrote: > Hi, > > At Tue, 20 Jan 2009 07:48:47 +0900, > Alexey Borzenkov wrote in [ruby-core:21448]: >> So this makes me really wonder how people are building Ruby with mingw and >> avoid this problem? Are you using something else beside msys? Would my >> patch break things for you then? > > "Mingw port" means to compile with -mno-cygwin on Cygwin, for > us. Hmm? And how do you call configure to do that? Setting CC to "gcc -mno-cygwin" and CFLAGS/CPPFLAGS/LDFLAGS to "-mno-cygwin" and then calling configure has no effect, they are just completely ignored and I end up with a cygwin build. So what is the official way to compile with -mno-cygwin?