From: wanabe Date: 2010-09-26T07:52:03+09:00 Subject: [ruby-core:32565] RUBY_PLATFORM on MinGW64 (was: List of possible casting issues under LLP64) Hello, 2010/9/24, Luis Lavena : > In r29320 you also introduced Exports::Mingw64 which is never going to be > called becase RUBY_PLATFORM is x86_64-mingw32. It differs form mswin32 and > mswin64 because MinGW is still mingw32, just it changes the architecture. hmmm, my RUBY_PLATFORM is x86_64-mingw64. $ ./ruby -v ruby 1.9.3dev (2010-09-23 trunk 29323) [x86_64-mingw64] $ ./miniruby -ve 'p RUBY_PLATFORM' ruby 1.9.3dev (2010-09-23 trunk 29323) [x86_64-mingw64] "x86_64-mingw64" (note: I just do as below. $ mkdir out.mingw64 ; cd out.mingw64 $ export MINGW64BIN="C:\\path\\to\\mingw64\\bin\\x86_64-w64-mingw32-" $ ../configure --target=mingw64 CC=${MINGW64BIN}gcc.exe \ CXX=${MINGW64BIN}g++.exe NM=${MINGW64BIN}nm.exe \ DLLWRAP=${MINGW64BIN}dllwrap.exe WINDRES=${MINGW64BIN}windres.exe \ AR=${MINGW64BIN}ar.exe AS=${MINGW64BIN}as.exe \ OBJDUMP=${MINGW64BIN}objdump.exe \ RANLIB=${MINGW64BIN}ranlib.exe && make ) If you mean "[x86_64-mingw64] is wrong. It should be [x86_64-mingw32]", please teach me why. Or if you mean "My RUBY_PLATFORM is currently x86_64-mingw32", please show me your build steps. -- wanabe