From: ptkwt@... (Phil Tomson) Date: 2004-03-18T06:54:34+09:00 Subject: Re: Compiling 1.8.1 for Windows using mingw In article <200403172100.i2HL0Zo1031498@sharui.nakada.niregi.kanuma.tochigi.jp>, wrote: >Hi, > >At Thu, 18 Mar 2004 05:04:34 +0900, >Phil Tomson wrote in [ruby-talk:95143]: >> $ ./configure --target=i386-mingw32 > > $ ./configure CFLAGS='gcc -mno-cygwin' > I tried your suggestion: $ ./configure CFLAGS='gcc -mno-cygwin' checking build system type... i686-pc-cygwin checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin <-- this is not correct! checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. I tried this next: $ ./configure CFLAGS='-mno-cygwin' --target=i386-mingw32 .... $ make gcc -mno-cygwin -I. -I. -c array.c gcc -mno-cygwin -I. -I. -c bignum.c bignum.c:18:20: ieeefp.h: No such file or directory make: *** [bignum.o] Error 1 So it was even worse with -mno-cygwin... Phil