From: ruby talk Date: 2006-01-21T13:36:45+09:00 Subject: Re: Extending ruby with c ------=_Part_11517_13972941.1137818189818 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thank you i found nmake at http://support.microsoft.com/default.aspx?scid=3Dkb;en-us;Q132084 using nmake i get this error C:\ruby\code>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cl -nologo -MD -Zi -O2b2xg- -G6 -I. -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -Ic:/ruby/lib/ruby/1.8/i386-mswin32 -IC:/ruby/code -I. -I./.. -I./../missing -c -TcTest.c 'cl' is not recognized as an internal or external command, operable program or batch file. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1= ' Stop. C:\ruby\code> I will try the other program next. Becker On 1/20/06, Eero Saynatkari wrote: > > ruby talk wrote: > > Hello, > > i created the .rb > > [code] > > require 'mkmf' > > > > dir_config("Test") > > > > create_makefile("Test") > > [code] > > > > but it only created the makefile which in windows make is not a command= . > > What do i do with the file instead? > > Windows can use a program called 'nmake' that you can use. > In addition to this, you would need to install a C compiler. > Microsoft does offer a free version of theirs. Both should > be available somewhere on http://www.msdn.com. > > Alternatively, you could install the MinGW toolkit from > http://www.mingw.org, it provides minimal GNU tools. > > > Becker > > > E > > -- > Posted via http://www.ruby-forum.com/. > > ------=_Part_11517_13972941.1137818189818--