Hello,

In message "[ruby-talk:22022] Building Ruby on Windows, Using MinGW"
    on 01/10/04, "Lyle Johnson" <ljohnson / resgen.com> writes:

> standard "configure" script for Ruby doesn't set the "-DNT" compiler flag,
> which I think is going to be required in a lot of places. So I instead did:
> 
>     export CC="gcc -DNT"
>     ./configure
>     make
> 
> and it chugs along for awhile before choking while trying to compile
> "./missing/strftime.c".

Try
  ./configure --enable-shared i386-mingw32
  make

The "-DNT" flag is set automatically.

  Regards,
  Masaki Suketa