Project

General

Profile

Backport #2531 » mkmf.log

luislavena (Luis Lavena), 01/15/2010 08:12 AM

 
"i386-mingw32-gcc -E -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -o conftest.i"
conftest.c:3:2: #error int not needed
checked program was:
/* begin */
1: #include "config.h"
2: #if SIZEOF_INT == SIZEOF_LONG
3: #error int not needed
4: #endif
/* end */

"i386-mingw32-gcc -E -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "config.h"
2: #if SIZEOF_FLOAT == SIZEOF_DOUBLE
3: #error float not needed
4: #endif
/* end */

"i386-mingw32-gcc -E -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -o conftest.i"
conftest.c:3:2: #error void* not needed
checked program was:
/* begin */
1: #include "config.h"
2: #if SIZEOF_VOIDP == SIZEOF_INT || SIZEOF_VOIDP == SIZEOF_LONG
3: #error void* not needed
4: #endif
/* end */

have_header: checking for windows.h... -------------------- yes

"i386-mingw32-gcc -E -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include <windows.h>
/* end */

--------------------

have_library: checking for main() in -lkernel32... -------------------- yes

"i386-mingw32-gcc -o conftest -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -L. -L../.. -L. -lmsvcrt-ruby18-static -lkernel32 -lshell32 -lwsock32 "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3:
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))main; return 0; }
/* end */

--------------------

have_func: checking for GetLastError() in windows.h... -------------------- yes

"i386-mingw32-gcc -o conftest -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -L. -L../.. -L. -lkernel32 -lmsvcrt-ruby18-static -lkernel32 -lshell32 -lwsock32 "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3: #include <windows.h>
4:
5: /*top*/
6: int main() { return 0; }
7: int t() { void ((*volatile p)()); p = (void ((*)()))GetLastError; return 0; }
/* end */

--------------------

have_header: checking for dlfcn.h... -------------------- no

"i386-mingw32-gcc -E -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -o conftest.i"
conftest.c:1:19: dlfcn.h: No such file or directory
checked program was:
/* begin */
1: #include <dlfcn.h>
/* end */

--------------------

have_func: checking for LoadLibrary()... -------------------- yes

"i386-mingw32-gcc -o conftest -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -L. -L../.. -L. -lkernel32 -lmsvcrt-ruby18-static -lkernel32 -lshell32 -lwsock32 "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3:
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))LoadLibrary; return 0; }
/* end */

--------------------

have_func: checking for FreeLibrary()... -------------------- yes

"i386-mingw32-gcc -o conftest -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -L. -L../.. -L. -lkernel32 -lmsvcrt-ruby18-static -lkernel32 -lshell32 -lwsock32 "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3:
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))FreeLibrary; return 0; }
/* end */

--------------------

have_func: checking for GetProcAddress()... -------------------- yes

"i386-mingw32-gcc -o conftest -I../.. -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249 -I/Users/luis/.rake-compiler/sources/ruby-1.8.7-p249/ext/dl -I. -g -O2 -fno-defer-pop -fno-omit-frame-pointer conftest.c -L. -L../.. -L. -lkernel32 -lmsvcrt-ruby18-static -lkernel32 -lshell32 -lwsock32 "
checked program was:
/* begin */
1: #include <windows.h>
2: #include <winsock.h>
3:
4: /*top*/
5: int main() { return 0; }
6: int t() { void ((*volatile p)()); p = (void ((*)()))GetProcAddress; return 0; }
/* end */

--------------------

(5-5/7)