Fail to compile mingw ruby

e$B=uED$G$9!#e(B
trunk e$B$Ge(B Cygwine$B$N4D6-$Ge(B

configure --prefix=/usr/local/ruby-trunk CC=‘gcc -mno-cygwin’

e$B$Ge(B mingw e$BHG$r%3%s%Q%$%k$7$h$&$H$9$k$He(B bigdecimal
e$B$G<:GT$7$^$9!#e(B
e$B$&$A$N4D6-$@$1$G$7$g$&$+!)e(B

compiling bigdecimal
C:/cygwin/home/svn/ruby/trunk/lib/mkmf.rb:363:in try_do': The complier failed to generate an executable file. (RuntimeError) You have to install development tools first. from C:/cygwin/home/svn/ruby/trunk/lib/mkmf.rb:426:intry_compile’
from C:/cygwin/home/svn/ruby/trunk/lib/mkmf.rb:476:in
try_static_assert' from C:/cygwin/home/svn/ruby/trunk/ext/bigdecimal/extconf.rb:5:in<top
(required)>’
from …/…/…/…/svn/ruby/trunk/ext/extmk.rb:154:in load' from ../../../../svn/ruby/trunk/ext/extmk.rb:154:inextmake’
from …/…/…/…/svn/ruby/trunk/ext/extmk.rb:445:in `block in

' from ../../../../svn/ruby/trunk/ext/extmk.rb:441:in `each' from ../../../../svn/ruby/trunk/ext/extmk.rb:441:in `' make: *** [mkmain.sh] Error 1

e$B=uEDe(B e$B2m5*e(B

e$B$J$+$@$G$9!#e(B

At Sat, 25 Apr 2009 14:37:13 +0900,
Masaki S. wrote in [ruby-dev:38324]:

e$B=uED$G$9!#e(B
trunk e$B$Ge(B Cygwine$B$N4D6-$Ge(B

configure --prefix=/usr/local/ruby-trunk CC=‘gcc -mno-cygwin’

e$B$Ge(B mingw e$BHG$r%3%s%Q%$%k$7$h$&$H$9$k$He(B bigdecimal
e$B$G<:GT$7$^$9!#e(B
e$B$&$A$N4D6-$@$1$G$7$g$&$+!)e(B

e$B$3$A$i$G$O$G$-$F$k$h$&$G$9$,!#e(B

compiling bigdecimal
C:/cygwin/home/svn/ruby/trunk/lib/mkmf.rb:363:in `try_do’: The complier
failed to generate an executable file. (RuntimeError)
You have to install development tools first.

mkmf.loge$B$r8+$;$F$b$i$($^$9$+!#e(B

Nobuyoshi N. wrote:

e$B$3$A$i$G$O$G$-$F$k$h$&$G$9$,!#e(B
e$B$d$C$Q$j!"$&$A$N4D6-$,0-$$$N$+$J!#e(B

mkmf.loge$B$r8+$;$F$b$i$($^$9$+!#e(B
e$B0J2<$NDL$j$G$9!#e(B

"gcc -mno-cygwin -o conftest -I…/…/.ext/include/i386-mingw32
-I…/…/…/…/…/…/svn/ruby/trunk/include
-I…/…/…/…/…/…/svn/ruby/trunk/ext/bigdecimal -O3 -g -Wall
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
conftest.c -L. -L…/… -L. -lmsvcrt-ruby191-static -lshell32
-lws2_32 "
checked program was:
/* begin /
1: #include “ruby.h”
2:
3: #include <winsock2.h>
4: #include <windows.h>
5: int main() {return 0;}
/
end */

checked program was:
/* begin /
1:
2: /top/
3: int conftest_const[((BASE * (BASE+1)) / BASE == (BASE+1)) ? 1 : -1];
/
end */

e$B=uEDe(B e$B2m5*e(B