--- Gergely Kontra <kgergely / mcl.hu> wrote: > Hi! > > I tried to compile ruby under windows with mingw: > mingw 3.1.0 > msys 1.0.11-20040430 I don't use msys but I can tell you how I compile mingw32-ruby with cygwin: export CC=/usr/local/mingw32/bin/gcc.exe export LD=/usr/local/mingw32/bin/ld.exe export AR=/usr/local/mingw32/bin/ar.exe export AS=/usr/local/mingw32/bin/as.exe export RANLIB=/usr/local/mingw32/bin/ranlib.exe export CPP=/usr/local/mingw32/bin/cpp.exe export CXX=/usr/local/mingw32/bin/g++.exe export NM=/usr/local/mingw32/bin/nm.exe ./configure --build=i386-mingw32 --host=i386-mingw32 --target=i386-mingw32 It may be overkill but it works every time. You can verify ruby does not depend on cygwin using cygcheck, > cygcheck ./ruby.exe ./ruby.exe .\msvcrt-ruby18.dll C:\WINNT\system32\ADVAPI32.DLL C:\WINNT\system32\NTDLL.DLL C:\WINNT\system32\KERNEL32.DLL C:\WINNT\system32\RPCRT4.DLL C:\WINNT\system32\msvcrt.dll C:\WINNT\system32\USER32.dll C:\WINNT\system32\GDI32.DLL C:\WINNT\system32\WSOCK32.DLL C:\WINNT\system32\WS2_32.DLL C:\WINNT\system32\WS2HELP.DLL There's also a -no-cygwin flag to gcc, but I've always preferred using the latest mingw compiler. I'm actually not sure why msys exists; cygwin has been around a while and has worked out many of its kinks. > kgergely@LIGHTSPEED /c/tmp/ruby-gtk2-0.9.1 This reminded me of Lightspeed C, the very first C compiler I saw and used :) __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo