mkmf question

T

Terry Dineen

Hi,

I am trying to build ruby-xslt on Windows XP. The first step is to run

ruby extconf.rb

which fails. mkmf.log contains the following which can't work on my
system since there is no cl in my path; I assume that's because I don't
have MS Visual Studio. I had installed MinGW and MSYS hoping that that
would allow me to build ruby-xslt with gcc and friends. Is there a way
to get mkmf to use gcc instead of cl when running its config tests?

Thanks,
Terry

have_library: checking for xmlParseDoc() in xml2.lib...
-------------------- no

"cl -nologo -Feconftest -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -I.
-Ic:/ruby/lib/ruby/1.8/i386-mswin32
-Ic:/XML/libxslt-1.1.19.win32/include -MD -Zi -O2b2xg- -G6
-DUSE_ERROR_HANDLER conftest.c msvcrt-ruby18-static.lib xml2.lib
oldnames.lib user32.lib advapi32.lib ws2_32.lib -link
-libpath:"c:/ruby/lib" -libpath:"c:/XML/libxslt-1.1.19.win32/lib"
-stack:0x2000000"
checked program was:
/* begin */
1: #define WIN32_LEAN_AND_MEAN
2: #include <winsock2.h>
3: #include <windows.h>
4:
5: /*top*/
6: int main() { return 0; }
7: int t() { void ((*volatile p)()); p = (void ((*)()))xmlParseDoc;
return 0; }
/* end */
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,153
Members
46,699
Latest member
AnneRosen

Latest Threads

Top