From: Masaki Suketa Date: 2009-04-25T23:24:44+09:00 Subject: [ruby-dev:38327] Re: fail to compile mingw ruby Nobuyoshi Nakada wrote: > こちらではできてるようですが。 やっぱり、うちの環境が悪いのかな。 > mkmf.logを見せてもらえますか。 以下の通りです。 "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 4: #include 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 */ 助田 雅紀