Created
April 25, 2011 13:53
-
-
Save jonforums/940539 to your computer and use it in GitHub Desktop.
Evaluating MinGW-w64 as toolchain for RI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package configuration for libffi is not found | |
| have_header: checking for ffi.h... -------------------- yes | |
| *** mkmf:try_do ENV={"!::"=>"::\\", "!EXITCODE"=>"00000000", "AR"=>"i686-w64-mingw32-ar", | |
| "AS"=>"i686-w64-mingw32-as", "CC"=>"i686-w64-mingw32-gcc", | |
| "CPATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\include;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\include;", | |
| "CPP"=>"i686-w64-mingw32-cpp", "CXX"=>"i686-w64-mingw32-g++", "DKVER"=>"mingw64-32-4.5.3", | |
| "DLLTOOL"=>"i686-w64-mingw32-dlltool", "DLLWRAP"=>"i686-w64-mingw32-dllwrap --target=mingw32 --driver-name=\"i686-w64-mingw32-gcc\" -mno-cygwin", | |
| "LIBRARY_PATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\lib;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\lib;", | |
| "LOCAL"=>"c:\\Users\\Jon\\Documents\\RubyDev\\ruby-git", "MAKEFLAGS"=>"", "MAKELEVEL"=>"1", | |
| "MFLAGS"=>"", "MYDEPS"=>"1", "NM"=>"i686-w64-mingw32-nm", "OBJCOPY"=>"i686-w64-mingw32-objcopy", "OBJDUMP"=>"i686-w64-mingw32-objdump", | |
| "PATH"=>"c:\\projects\\rubyinstaller-git\\sandbox\\zlib\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\mingw\\bin;c:\\ruby192\\bin;c:\\git\\cmd;c:\\Windows\\system32;c:\\Windows;c:\\Windows\\System32\\Wbem", | |
| "PWD"=>"c:/projects/rubyinstaller-git/sandbox/ruby19_build", "RANLIB"=>"i686-w64-mingw32-ranlib", | |
| "RUBYLIB"=>"-", "SESSIONNAME"=>"Console", "SHLVL"=>"1", "STRIP"=>"i686-w64-mingw32-strip", "TERM"=>"cygwin", | |
| "WINDRES"=>"i686-w64-mingw32-windres --preprocessor=\"i686-w64-mingw32-cpp -xc\" -DRC_INVOKED", "_"=>"./miniruby.exe"} | |
| "i686-w64-mingw32-cpp -I../../.ext/include/i386-mingw32 -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/include -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/fiddle -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <winsock2.h> | |
| 4: #include <windows.h> | |
| 5: #include <ffi.h> | |
| /* end */ | |
| -------------------- | |
| *** mkmf:try_do ENV={"!::"=>"::\\", "!EXITCODE"=>"00000000", "AR"=>"i686-w64-mingw32-ar", | |
| "AS"=>"i686-w64-mingw32-as", "CC"=>"i686-w64-mingw32-gcc", | |
| "CPATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\include;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\include;", | |
| "CPP"=>"i686-w64-mingw32-cpp", "CXX"=>"i686-w64-mingw32-g++", "DKVER"=>"mingw64-32-4.5.3", | |
| "DLLTOOL"=>"i686-w64-mingw32-dlltool", "DLLWRAP"=>"i686-w64-mingw32-dllwrap --target=mingw32 --driver-name=\"i686-w64-mingw32-gcc\" -mno-cygwin", | |
| "LIBRARY_PATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\lib;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\lib;", | |
| "LOCAL"=>"c:\\Users\\Jon\\Documents\\RubyDev\\ruby-git", "MAKEFLAGS"=>"", "MAKELEVEL"=>"1", | |
| "MFLAGS"=>"", "MYDEPS"=>"1", "NM"=>"i686-w64-mingw32-nm", "OBJCOPY"=>"i686-w64-mingw32-objcopy", "OBJDUMP"=>"i686-w64-mingw32-objdump", | |
| "PATH"=>"c:\\projects\\rubyinstaller-git\\sandbox\\zlib\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\mingw\\bin;c:\\ruby192\\bin;c:\\git\\cmd;c:\\Windows\\system32;c:\\Windows;c:\\Windows\\System32\\Wbem", | |
| "PWD"=>"c:/projects/rubyinstaller-git/sandbox/ruby19_build", "RANLIB"=>"i686-w64-mingw32-ranlib", | |
| "RUBYLIB"=>"-", "SESSIONNAME"=>"Console", "SHLVL"=>"1", "STRIP"=>"i686-w64-mingw32-strip", "TERM"=>"cygwin", | |
| "WINDRES"=>"i686-w64-mingw32-windres --preprocessor=\"i686-w64-mingw32-cpp -xc\" -DRC_INVOKED", "_"=>"./miniruby.exe"} | |
| have_library: checking for main() in -lffi... -------------------- no | |
| *** mkmf:try_do ENV={"!::"=>"::\\", "!EXITCODE"=>"00000000", "AR"=>"i686-w64-mingw32-ar", | |
| "AS"=>"i686-w64-mingw32-as", "CC"=>"i686-w64-mingw32-gcc", | |
| "CPATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\include;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\include;", | |
| "CPP"=>"i686-w64-mingw32-cpp", "CXX"=>"i686-w64-mingw32-g++", "DKVER"=>"mingw64-32-4.5.3", | |
| "DLLTOOL"=>"i686-w64-mingw32-dlltool", "DLLWRAP"=>"i686-w64-mingw32-dllwrap --target=mingw32 --driver-name=\"i686-w64-mingw32-gcc\" -mno-cygwin", | |
| "LIBRARY_PATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\lib;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\lib;", | |
| "LOCAL"=>"c:\\Users\\Jon\\Documents\\RubyDev\\ruby-git", "MAKEFLAGS"=>"", "MAKELEVEL"=>"1", | |
| "MFLAGS"=>"", "MYDEPS"=>"1", "NM"=>"i686-w64-mingw32-nm", "OBJCOPY"=>"i686-w64-mingw32-objcopy", "OBJDUMP"=>"i686-w64-mingw32-objdump", | |
| "PATH"=>"c:\\projects\\rubyinstaller-git\\sandbox\\zlib\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\mingw\\bin;c:\\ruby192\\bin;c:\\git\\cmd;c:\\Windows\\system32;c:\\Windows;c:\\Windows\\System32\\Wbem", | |
| "PWD"=>"c:/projects/rubyinstaller-git/sandbox/ruby19_build", "RANLIB"=>"i686-w64-mingw32-ranlib", | |
| "RUBYLIB"=>"-", "SESSIONNAME"=>"Console", "SHLVL"=>"1", "STRIP"=>"i686-w64-mingw32-strip", "TERM"=>"cygwin", | |
| "WINDRES"=>"i686-w64-mingw32-windres --preprocessor=\"i686-w64-mingw32-cpp -xc\" -DRC_INVOKED", "_"=>"./miniruby.exe"} | |
| "i686-w64-mingw32-gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/include -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/fiddle -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L../.. -L. -lmsvcrt-ruby191-static -lffi -lshell32 -lws2_32 -limagehlp " | |
| c:/projects/rubyinstaller-git/sandbox/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lffi | |
| collect2: ld returned 1 exit status | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <winsock2.h> | |
| 4: #include <windows.h> | |
| 5: | |
| 6: /*top*/ | |
| 7: int main() {return 0;} | |
| 8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } | |
| /* end */ | |
| "i686-w64-mingw32-gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/include -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/fiddle -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L../.. -L. -lmsvcrt-ruby191-static -lffi -lshell32 -lws2_32 -limagehlp " | |
| c:/projects/rubyinstaller-git/sandbox/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lffi | |
| collect2: ld returned 1 exit status | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <winsock2.h> | |
| 4: #include <windows.h> | |
| 5: | |
| 6: /*top*/ | |
| 7: int main() {return 0;} | |
| 8: int t() { main(); return 0; } | |
| /* end */ | |
| -------------------- | |
| *** mkmf:try_do ENV={"!::"=>"::\\", "!EXITCODE"=>"00000000", "AR"=>"i686-w64-mingw32-ar", | |
| "AS"=>"i686-w64-mingw32-as", "CC"=>"i686-w64-mingw32-gcc", | |
| "CPATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\include;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\include;", | |
| "CPP"=>"i686-w64-mingw32-cpp", "CXX"=>"i686-w64-mingw32-g++", "DKVER"=>"mingw64-32-4.5.3", | |
| "DLLTOOL"=>"i686-w64-mingw32-dlltool", "DLLWRAP"=>"i686-w64-mingw32-dllwrap --target=mingw32 --driver-name=\"i686-w64-mingw32-gcc\" -mno-cygwin", | |
| "LIBRARY_PATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\lib;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\lib;", | |
| "LOCAL"=>"c:\\Users\\Jon\\Documents\\RubyDev\\ruby-git", "MAKEFLAGS"=>"", "MAKELEVEL"=>"1", | |
| "MFLAGS"=>"", "MYDEPS"=>"1", "NM"=>"i686-w64-mingw32-nm", "OBJCOPY"=>"i686-w64-mingw32-objcopy", "OBJDUMP"=>"i686-w64-mingw32-objdump", | |
| "PATH"=>"c:\\projects\\rubyinstaller-git\\sandbox\\zlib\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\mingw\\bin;c:\\ruby192\\bin;c:\\git\\cmd;c:\\Windows\\system32;c:\\Windows;c:\\Windows\\System32\\Wbem", | |
| "PWD"=>"c:/projects/rubyinstaller-git/sandbox/ruby19_build", "RANLIB"=>"i686-w64-mingw32-ranlib", | |
| "RUBYLIB"=>"-", "SESSIONNAME"=>"Console", "SHLVL"=>"1", "STRIP"=>"i686-w64-mingw32-strip", "TERM"=>"cygwin", | |
| "WINDRES"=>"i686-w64-mingw32-windres --preprocessor=\"i686-w64-mingw32-cpp -xc\" -DRC_INVOKED", "_"=>"./miniruby.exe"} | |
| have_library: checking for main() in -llibffi... -------------------- no | |
| *** mkmf:try_do ENV={"!::"=>"::\\", "!EXITCODE"=>"00000000", "AR"=>"i686-w64-mingw32-ar", | |
| "AS"=>"i686-w64-mingw32-as", "CC"=>"i686-w64-mingw32-gcc", | |
| "CPATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\include;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\include;", | |
| "CPP"=>"i686-w64-mingw32-cpp", "CXX"=>"i686-w64-mingw32-g++", "DKVER"=>"mingw64-32-4.5.3", | |
| "DLLTOOL"=>"i686-w64-mingw32-dlltool", "DLLWRAP"=>"i686-w64-mingw32-dllwrap --target=mingw32 --driver-name=\"i686-w64-mingw32-gcc\" -mno-cygwin", | |
| "LIBRARY_PATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\lib;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\lib;", | |
| "LOCAL"=>"c:\\Users\\Jon\\Documents\\RubyDev\\ruby-git", "MAKEFLAGS"=>"", "MAKELEVEL"=>"1", | |
| "MFLAGS"=>"", "MYDEPS"=>"1", "NM"=>"i686-w64-mingw32-nm", "OBJCOPY"=>"i686-w64-mingw32-objcopy", "OBJDUMP"=>"i686-w64-mingw32-objdump", | |
| "PATH"=>"c:\\projects\\rubyinstaller-git\\sandbox\\zlib\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\mingw\\bin;c:\\ruby192\\bin;c:\\git\\cmd;c:\\Windows\\system32;c:\\Windows;c:\\Windows\\System32\\Wbem", | |
| "PWD"=>"c:/projects/rubyinstaller-git/sandbox/ruby19_build", "RANLIB"=>"i686-w64-mingw32-ranlib", | |
| "RUBYLIB"=>"-", "SESSIONNAME"=>"Console", "SHLVL"=>"1", "STRIP"=>"i686-w64-mingw32-strip", "TERM"=>"cygwin", | |
| "WINDRES"=>"i686-w64-mingw32-windres --preprocessor=\"i686-w64-mingw32-cpp -xc\" -DRC_INVOKED", "_"=>"./miniruby.exe"} | |
| "i686-w64-mingw32-gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/include -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/fiddle -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L../.. -L. -lmsvcrt-ruby191-static -llibffi -lshell32 -lws2_32 -limagehlp " | |
| c:/projects/rubyinstaller-git/sandbox/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -llibffi | |
| collect2: ld returned 1 exit status | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <winsock2.h> | |
| 4: #include <windows.h> | |
| 5: | |
| 6: /*top*/ | |
| 7: int main() {return 0;} | |
| 8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } | |
| /* end */ | |
| "i686-w64-mingw32-gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/include -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/fiddle -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L../.. -L. -lmsvcrt-ruby191-static -llibffi -lshell32 -lws2_32 -limagehlp " | |
| c:/projects/rubyinstaller-git/sandbox/devkit/mingw/bin/../lib/gcc/i686-w64-mingw32/4.5.3/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -llibffi | |
| collect2: ld returned 1 exit status | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <winsock2.h> | |
| 4: #include <windows.h> | |
| 5: | |
| 6: /*top*/ | |
| 7: int main() {return 0;} | |
| 8: int t() { main(); return 0; } | |
| /* end */ | |
| -------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * 1) save this file as sandbox/link_test.c | |
| * 2) execute: | |
| * rake ffi devkit:sh dkver=mingw64-32-4.5.3 | |
| * 3) cd sandbox | |
| * 4) build via: | |
| * i686-w64-mingw32-gcc -o link_test.exe -Ilibffi/include | |
| * -Wall -O3 -g link_test.c -Llibffi/lib -lffi | |
| */ | |
| #include <stdio.h> | |
| #include <winsock2.h> | |
| #include <windows.h> | |
| #include <ffi.h> | |
| int main() {printf("testing complete...\n");return 0;} | |
| int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package configuration for libffi is not found | |
| have_header: checking for ffi.h... -------------------- yes | |
| *** mkmf:try_do ENV={"!::"=>"::\\", "!EXITCODE"=>"00000000", | |
| "CPATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\include;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\include;", | |
| "DKVER"=>"tdm-32-4.5.2", | |
| "LIBRARY_PATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\lib;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\lib;", | |
| "LOCAL"=>"c:\\Users\\Jon\\Documents\\RubyDev\\ruby-git", "MAKEFLAGS"=>"", "MAKELEVEL"=>"1", "MFLAGS"=>"", "MYDEPS"=>"1", | |
| "PATH"=>"c:\\projects\\rubyinstaller-git\\sandbox\\zlib\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\mingw\\bin;c:\\ruby192\\bin;c:\\git\\cmd;c:\\Windows\\system32;c:\\Windows;c:\\Windows\\System32\\Wbem", | |
| "PWD"=>"c:/projects/rubyinstaller-git/sandbox/ruby19_build", "RUBYLIB"=>"-", "SESSIONNAME"=>"Console", "SHLVL"=>"1", "TERM"=>"cygwin", "_"=>"./miniruby.exe"} | |
| "gcc -E -I../../.ext/include/i386-mingw32 -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/include -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/fiddle -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -o conftest.i" | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <winsock2.h> | |
| 4: #include <windows.h> | |
| 5: #include <ffi.h> | |
| /* end */ | |
| -------------------- | |
| have_library: checking for main() in -lffi... -------------------- yes | |
| *** mkmf:try_do ENV={"!::"=>"::\\", "!EXITCODE"=>"00000000", | |
| "CPATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\include;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\include;", | |
| "DKVER"=>"tdm-32-4.5.2", | |
| "LIBRARY_PATH"=>"C:\\projects\\rubyinstaller-git\\sandbox\\zlib\\lib;C:\\projects\\rubyinstaller-git\\sandbox\\libffi\\lib;", | |
| "LOCAL"=>"c:\\Users\\Jon\\Documents\\RubyDev\\ruby-git", "MAKEFLAGS"=>"", "MAKELEVEL"=>"1", "MFLAGS"=>"", "MYDEPS"=>"1", | |
| "PATH"=>"c:\\projects\\rubyinstaller-git\\sandbox\\zlib\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\bin;C:\\projects\\rubyinstaller-git\\sandbox\\devkit\\mingw\\bin;c:\\ruby192\\bin;c:\\git\\cmd;c:\\Windows\\system32;c:\\Windows;c:\\Windows\\System32\\Wbem", | |
| "PWD"=>"c:/projects/rubyinstaller-git/sandbox/ruby19_build", "RUBYLIB"=>"-", "SESSIONNAME"=>"Console", "SHLVL"=>"1", "TERM"=>"cygwin", "_"=>"./miniruby.exe"} | |
| "gcc -o conftest -I../../.ext/include/i386-mingw32 -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/include -I../../../../../../Users/Jon/Documents/RubyDev/ruby-git/ext/fiddle -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wimplicit-function-declaration conftest.c -L. -L../.. -L. -lmsvcrt-ruby191-static -lffi -lshell32 -lws2_32 -limagehlp " | |
| checked program was: | |
| /* begin */ | |
| 1: #include "ruby.h" | |
| 2: | |
| 3: #include <winsock2.h> | |
| 4: #include <windows.h> | |
| 5: | |
| 6: /*top*/ | |
| 7: int main() {return 0;} | |
| 8: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; } | |
| /* end */ | |
| -------------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/sandbox/libffi-ok/fail-rbconfig.rb b/sandbox/libffi-ok/pass-rbconfig.rb | |
| index 8ebbf5b..f03a28a 100644 | |
| --- a/sandbox/libffi-ok/fail-rbconfig.rb | |
| +++ b/sandbox/libffi-ok/pass-rbconfig.rb | |
| @@ -32,7 +32,7 @@ module RbConfig | |
| CONFIG["rubyhdrdir"] = "$(includedir)/$(RUBY_BASE_NAME)-$(ruby_version)" | |
| CONFIG["UNIVERSAL_INTS"] = "" | |
| CONFIG["UNIVERSAL_ARCHNAMES"] = "" | |
| - CONFIG["configure_args"] = " '--enable-shared' '--disable-install-doc' '--prefix=C:/projects/rubyinstaller-git/sandbox/ruby19_mingw' 'CC=i686-w64-mingw32-gcc' 'CXX=i686-w64-mingw32-g++' 'CPP=i686-w64-mingw32-cpp'" | |
| + CONFIG["configure_args"] = " '--enable-shared' '--disable-install-doc' '--prefix=C:/projects/rubyinstaller-git/sandbox/ruby19_mingw'" | |
| CONFIG["vendordir"] = "$(rubylibprefix)/vendor_ruby" | |
| CONFIG["sitedir"] = "$(rubylibprefix)/site_ruby" | |
| CONFIG["ruby_version"] = "1.9.1" | |
| @@ -113,15 +113,15 @@ module RbConfig | |
| CONFIG["INSTALL_PROGRAM"] = "$(INSTALL)" | |
| CONFIG["SET_MAKE"] = "" | |
| CONFIG["LN_S"] = "cp -p" | |
| - CONFIG["NM"] = "i686-w64-mingw32-nm" | |
| - CONFIG["DLLWRAP"] = "i686-w64-mingw32-dllwrap" | |
| - CONFIG["WINDRES"] = "i686-w64-mingw32-windres" | |
| - CONFIG["OBJCOPY"] = "i686-w64-mingw32-objcopy" | |
| - CONFIG["OBJDUMP"] = "i686-w64-mingw32-objdump" | |
| + CONFIG["NM"] = "nm" | |
| + CONFIG["DLLWRAP"] = "dllwrap" | |
| + CONFIG["WINDRES"] = "windres" | |
| + CONFIG["OBJCOPY"] = ":" | |
| + CONFIG["OBJDUMP"] = "objdump" | |
| CONFIG["ASFLAGS"] = "" | |
| - CONFIG["AS"] = "i686-w64-mingw32-as" | |
| - CONFIG["AR"] = "i686-w64-mingw32-ar" | |
| - CONFIG["RANLIB"] = "i686-w64-mingw32-ranlib" | |
| + CONFIG["AS"] = "as" | |
| + CONFIG["AR"] = "ar" | |
| + CONFIG["RANLIB"] = "ranlib" | |
| CONFIG["try_header"] = "" | |
| CONFIG["COUTFLAG"] = "-o " | |
| CONFIG["OUTFLAG"] = "-o " | |
| @@ -130,14 +130,14 @@ module RbConfig | |
| CONFIG["GCC"] = "yes" | |
| CONFIG["EGREP"] = "/usr/bin/grep -E" | |
| CONFIG["GREP"] = "/usr/bin/grep" | |
| - CONFIG["CPP"] = "i686-w64-mingw32-cpp" | |
| + CONFIG["CPP"] = "$(CC) -E" | |
| CONFIG["CXXFLAGS"] = "$(cxxflags)" | |
| - CONFIG["CXX"] = "i686-w64-mingw32-g++" | |
| + CONFIG["CXX"] = "g++" | |
| CONFIG["OBJEXT"] = "o" | |
| CONFIG["CPPFLAGS"] = " $(DEFS) $(cppflags)" | |
| CONFIG["LDFLAGS"] = "-L. " | |
| CONFIG["CFLAGS"] = "$(cflags)" | |
| - CONFIG["CC"] = "i686-w64-mingw32-gcc" | |
| + CONFIG["CC"] = "gcc" | |
| CONFIG["target_os"] = "mingw32" | |
| CONFIG["target_vendor"] = "pc" | |
| CONFIG["target_cpu"] = "i386" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/sandbox/libffi-ok/fail-ruby-config.log b/sandbox/libffi-ok/pass-ruby-config.log | |
| index 47154cc..7035867 100644 | |
| --- a/sandbox/libffi-ok/fail-ruby-config.log | |
| +++ b/sandbox/libffi-ok/pass-ruby-config.log | |
| @@ -47,99 +47,122 @@ configure:2817: checking host system type | |
| configure:2830: result: i686-pc-mingw32 | |
| configure:2850: checking target system type | |
| configure:2863: result: i686-pc-mingw32 | |
| +configure:3088: checking for gcc | |
| +configure:3104: found /usr/mingw/bin/gcc | |
| +configure:3115: result: gcc | |
| configure:3344: checking for C compiler version | |
| -configure:3353: i686-w64-mingw32-gcc --version >&5 | |
| -i686-w64-mingw32-gcc.exe (GCC) 4.5.3 20110422 (prerelease) | |
| +configure:3353: gcc --version >&5 | |
| +gcc.exe (tdm-1) 4.5.2 | |
| Copyright (C) 2010 Free Software Foundation, Inc. | |
| This is free software; see the source for copying conditions. There is NO | |
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | |
| configure:3364: $? = 0 | |
| -configure:3353: i686-w64-mingw32-gcc -v >&5 | |
| +configure:3353: gcc -v >&5 | |
| Using built-in specs. | |
| -COLLECT_GCC=C:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\i686-w64-mingw32-gcc.exe | |
| -COLLECT_LTO_WRAPPER=c:/projects/rubyinstaller-git/sandbox/devkit/mingw/bin/../libexec/gcc/i686-w64-mingw32/4.5.3/lto-wrapper.exe | |
| -Target: i686-w64-mingw32 | |
| -Configured with: ../../../build/gcc/src/configure --target=i686-w64-mingw32 --prefix=/c/bb/vista64-mingw32/mingw-x86-x86/build/build/root --with-sysroot=/c/bb/vista64-mingw32/mingw-x86-x86/build/build/root --enable-languages=all,obj-c++ --enable-fully-dynamic-string --disable-multilib | |
| +COLLECT_GCC=C:\projects\rubyinstaller-git\sandbox\devkit\mingw\bin\gcc.exe | |
| +COLLECT_LTO_WRAPPER=c:/projects/rubyinstaller-git/sandbox/devkit/mingw/bin/../libexec/gcc/mingw32/4.5.2/lto-wrapper.exe | |
| +Target: mingw32 | |
| +Configured with: ../../src/gcc-4.5.2/configure --build=mingw32 --enable-languages=c,c++,ada,fortran,objc,obj-c++ --enable-threads=win32 --enable-libgomp --enable-lto --enable-fully-dynamic-string --enable-libstdcxx-debug --enable-version-specific-runtime-libs --with-gnu-ld --disable-nls --disable-win32-registry --disable-symvers --disable-werror --prefix=/mingw32tdm --with-local-prefix=/mingw32tdm --enable-cxx-flags='-fno-function-sections -fno-data-sections' --with-pkgversion=tdm-1 --enable-sjlj-exceptions --with-bugurl=http://tdm-gcc.tdragon.net/bugs | |
| Thread model: win32 | |
| -gcc version 4.5.3 20110422 (prerelease) (GCC) | |
| +gcc version 4.5.2 (tdm-1) | |
| configure:3384: checking whether the C compiler works | |
| -configure:3406: i686-w64-mingw32-gcc conftest.c >&5 | |
| +configure:3406: gcc conftest.c >&5 | |
| configure:3410: $? = 0 | |
| configure:3458: result: yes | |
| configure:3618: checking whether we are using the GNU C compiler | |
| -configure:3637: i686-w64-mingw32-gcc -c conftest.c >&5 | |
| +configure:3637: gcc -c conftest.c >&5 | |
| configure:3637: $? = 0 | |
| configure:3646: result: yes | |
| configure:4711: checking for ranlib | |
| -configure:4738: result: i686-w64-mingw32-ranlib | |
| +configure:4727: found /usr/mingw/bin/ranlib | |
| +configure:4738: result: ranlib | |
| configure:4803: checking for ar | |
| -configure:4830: result: i686-w64-mingw32-ar | |
| +configure:4819: found /usr/mingw/bin/ar | |
| +configure:4830: result: ar | |
| configure:4941: checking for as | |
| -configure:4968: result: i686-w64-mingw32-as | |
| +configure:4957: found /usr/mingw/bin/as | |
| +configure:4968: result: as | |
| +configure:5050: checking for objdump | |
| +configure:5066: found /usr/mingw/bin/objdump | |
| +configure:5077: result: objdump | |
| +configure:5150: checking for objcopy | |
| +configure:5177: result: : | |
| configure:5248: checking for windres | |
| -configure:5275: result: i686-w64-mingw32-windres | |
| +configure:5264: found /usr/mingw/bin/windres | |
| +configure:5275: result: windres | |
| configure:5340: checking for dllwrap | |
| -configure:5367: result: i686-w64-mingw32-dllwrap | |
| +configure:5356: found /usr/mingw/bin/dllwrap | |
| +configure:5367: result: dllwrap | |
| configure:5408: checking for mingw32 runtime DLL | |
| -configure:5425: i686-w64-mingw32-gcc -o conftest.exe -g -O2 conftest.c >&5 | |
| +configure:5425: gcc -o conftest.exe -g -O2 conftest.c >&5 | |
| configure:5425: $? = 0 | |
| configure:5436: result: msvcrt | |
| configure:5588: checking for nm | |
| -configure:5615: result: i686-w64-mingw32-nm | |
| +configure:5604: found /usr/mingw/bin/nm | |
| +configure:5615: result: nm | |
| @@ -28941,9 +28784,9 @@ generated by GNU Autoconf 2.67. Invocation command line was | |
| -config.status:890: creating GNUmakefile | |
| -config.status:890: creating Makefile | |
| -config.status:890: creating ruby-1.9.pc | |
| +config.status:889: creating GNUmakefile | |
| +config.status:889: creating Makefile | |
| +config.status:889: creating ruby-1.9.pc | |
| ## ---------------- ## | |
| ## Cache variables. ## | |
| @@ -28959,18 +28802,18 @@ ac_cv_c_volatile=yes | |
| ac_cv_cxx_compiler_gnu=yes | |
| ac_cv_env_CCC_set= | |
| ac_cv_env_CCC_value= | |
| -ac_cv_env_CC_set=set | |
| -ac_cv_env_CC_value=i686-w64-mingw32-gcc | |
| +ac_cv_env_CC_set= | |
| +ac_cv_env_CC_value= | |
| ac_cv_env_CFLAGS_set= | |
| ac_cv_env_CFLAGS_value= | |
| ac_cv_env_CPPFLAGS_set= | |
| ac_cv_env_CPPFLAGS_value= | |
| -ac_cv_env_CPP_set=set | |
| -ac_cv_env_CPP_value=i686-w64-mingw32-cpp | |
| +ac_cv_env_CPP_set= | |
| +ac_cv_env_CPP_value= | |
| ac_cv_env_CXXFLAGS_set= | |
| ac_cv_env_CXXFLAGS_value= | |
| -ac_cv_env_CXX_set=set | |
| -ac_cv_env_CXX_value=i686-w64-mingw32-g++ | |
| +ac_cv_env_CXX_set= | |
| +ac_cv_env_CXX_value= | |
| ac_cv_env_LDFLAGS_set= | |
| ac_cv_env_LDFLAGS_value= | |
| ac_cv_env_LIBS_set= | |
| @@ -29171,15 +29014,17 @@ ac_cv_path_EGREP='/usr/bin/grep -E' | |
| ac_cv_path_GREP=/usr/bin/grep | |
| ac_cv_path_install='/usr/bin/install -c' | |
| ac_cv_path_mkdir=/usr/bin/mkdir | |
| -ac_cv_prog_CC=i686-w64-mingw32-gcc | |
| -ac_cv_prog_CPP=i686-w64-mingw32-cpp | |
| -ac_cv_prog_ac_ct_AR=i686-w64-mingw32-ar | |
| -ac_cv_prog_ac_ct_AS=i686-w64-mingw32-as | |
| -ac_cv_prog_ac_ct_DLLWRAP=i686-w64-mingw32-dllwrap | |
| -ac_cv_prog_ac_ct_NM=i686-w64-mingw32-nm | |
| +ac_cv_prog_CPP='gcc -E' | |
| +ac_cv_prog_ac_ct_AR=ar | |
| +ac_cv_prog_ac_ct_AS=as | |
| +ac_cv_prog_ac_ct_CC=gcc | |
| +ac_cv_prog_ac_ct_CXX=g++ | |
| +ac_cv_prog_ac_ct_DLLWRAP=dllwrap | |
| +ac_cv_prog_ac_ct_NM=nm | |
| ac_cv_prog_ac_ct_OBJCOPY=: | |
| -ac_cv_prog_ac_ct_RANLIB=i686-w64-mingw32-ranlib | |
| -ac_cv_prog_ac_ct_WINDRES=i686-w64-mingw32-windres | |
| +ac_cv_prog_ac_ct_OBJDUMP=objdump | |
| +ac_cv_prog_ac_ct_RANLIB=ranlib | |
| +ac_cv_prog_ac_ct_WINDRES=windres | |
| ac_cv_prog_cc_c89= | |
| ac_cv_prog_cc_g=yes | |
| ac_cv_prog_cxx_g=yes | |
| @@ -29228,8 +29073,8 @@ ac_cv_type_pid_t=yes | |
| ac_cv_type_rlim_t=no | |
| ac_cv_type_signal=void | |
| ac_cv_type_size_t=yes | |
| -ac_cv_type_struct_timespec=yes | |
| -ac_cv_type_struct_timezone=yes | |
| +ac_cv_type_struct_timespec=no | |
| +ac_cv_type_struct_timezone=no | |
| ac_cv_type_time_t=yes | |
| ac_cv_type_uid_t=no | |
| ac_cv_var_tzname=yes | |
| @@ -29305,17 +29150,17 @@ rb_cv_warnflags='-Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long - | |
| ## ----------------- ## | |
| ALLOCA='' | |
| -AR='i686-w64-mingw32-ar' | |
| +AR='ar' | |
| ARCHFILE='' | |
| ARCH_FLAG='' | |
| -AS='i686-w64-mingw32-as' | |
| +AS='as' | |
| ASFLAGS='' | |
| BASERUBY='ruby' | |
| BUILTIN_ENCOBJS=' ascii.$(OBJEXT) us_ascii.$(OBJEXT) unicode.$(OBJEXT) utf_8.$(OBJEXT)' | |
| BUILTIN_TRANSOBJS=' newline.$(OBJEXT)' | |
| BUILTIN_TRANSSRCS=' newline.c' | |
| CAPITARGET='nodoc' | |
| -CC='i686-w64-mingw32-gcc' | |
| +CC='gcc' | |
| CCDLFLAGS='' | |
| CFLAGS='${cflags}' | |
| CHDIR='cd' | |
| @@ -29324,17 +29169,17 @@ COMMON_LIBS='m' | |
| COMMON_MACROS='' | |
| COUTFLAG='-o ' | |
| CP='cp' | |
| -CPP='i686-w64-mingw32-cpp' | |
| +CPP='$(CC) -E' | |
| CPPFLAGS=' $(DEFS) ${cppflags}' | |
| CPPOUTFILE='-o conftest.i' | |
| -CXX='i686-w64-mingw32-g++' | |
| +CXX='g++' | |
| CXXFLAGS='${cxxflags}' | |
| DEFS='' | |
| DLDFLAGS=' -Wl,--enable-auto-image-base,--enable-auto-import $(DEFFILE)' | |
| DLDLIBS='' | |
| DLEXT2='' | |
| DLEXT='so' | |
| -DLLWRAP='i686-w64-mingw32-dllwrap' | |
| +DLLWRAP='dllwrap' | |
| DOT='' | |
| DOXYGEN='' | |
| ECHO_C='' | |
| @@ -29384,10 +29229,10 @@ MINIOBJS='dmydln.o' | |
| MINIRUBY='./miniruby$(EXEEXT) -I$(srcdir)/lib -I. -I$(EXTOUT)/common' | |
| MINOR='9' | |
| MKDIR_P='/usr/bin/mkdir -p' | |
| -NM='i686-w64-mingw32-nm' | |
| +NM='nm' | |
| NROFF='/bin/false' | |
| -OBJCOPY='i686-w64-mingw32-objcopy' | |
| -OBJDUMP='i686-w64-mingw32-objdump' | |
| +OBJCOPY=':' | |
| +OBJDUMP='objdump' | |
| OBJEXT='o' | |
| OUTFLAG='-o ' | |
| PACKAGE='ruby' | |
| @@ -29400,7 +29245,7 @@ PACKAGE_VERSION='' | |
| PATH_SEPARATOR=':' | |
| PKG_CONFIG='' | |
| PREP='miniruby$(EXEEXT)' | |
| -RANLIB='i686-w64-mingw32-ranlib' | |
| +RANLIB='ranlib' | |
| RDOCTARGET='nodoc' | |
| RI_BASE_NAME='ri' | |
| RM='rm -f' | |
| @@ -29430,17 +29275,17 @@ UNIVERSAL_ARCHNAMES='' | |
| UNIVERSAL_INTS='' | |
| USE_RUBYGEMS='YES' | |
| WERRORFLAG='-Werror' | |
| -WINDRES='i686-w64-mingw32-windres' | |
| +WINDRES='windres' | |
| XCFLAGS='-include ruby/config.h -include ruby/missing.h -DRUBY_EXPORT' | |
| XLDFLAGS=' -Wl,--stack,0x00200000,--enable-auto-import' | |
| XRUBY='$(RUNRUBY)' | |
| XRUBY_LIBDIR='' | |
| XRUBY_RUBYHDRDIR='' | |
| XRUBY_RUBYLIBDIR='' | |
| -ac_ct_CC='' | |
| -ac_ct_CXX='' | |
| -ac_ct_OBJCOPY='' | |
| -ac_ct_OBJDUMP='' | |
| +ac_ct_CC='gcc' | |
| +ac_ct_CXX='g++' | |
| +ac_ct_OBJCOPY=':' | |
| +ac_ct_OBJDUMP='objdump' | |
| arch='i386-mingw32' | |
| bindir='${exec_prefix}/bin' | |
| build='i686-pc-mingw32' | |
| @@ -29449,7 +29294,7 @@ build_cpu='i686' | |
| build_os='mingw32' | |
| build_vendor='pc' | |
| cflags=' ${optflags} ${debugflags} ${warnflags}' | |
| -configure_args=' '\''--enable-shared'\'' '\''--disable-install-doc'\'' '\''--prefix=C:/projects/rubyinstaller-git/sandbox/ruby19_mingw'\'' '\''CC=i686-w64-mingw32-gcc'\'' '\''CXX=i686-w64-mingw32-g++'\'' '\''CPP=i686-w64-mingw32-cpp'\''' | |
| +configure_args=' '\''--enable-shared'\'' '\''--disable-install-doc'\'' '\''--prefix=C:/projects/rubyinstaller-git/sandbox/ruby19_mingw'\''' | |
| cppflags='' | |
| cxxflags=' ${optflags} ${debugflags} ${warnflags}' | |
| datadir='${datarootdir}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment