From: "Jon A. Lambert" Date: 2005-05-11T02:14:58+09:00 Subject: Re: RACC - one click installer/cygwin package nobu.nokada@softhome.net wrote: > Hi, > > At Sun, 8 May 2005 21:31:40 +0900, > Jon A. Lambert wrote in [ruby-talk:141662]: >> What >> little web doc there is leads me to believe that racc is integrated >> with both. > > No, integrated is only racc runtime, which is used to run > scripts generated by racc. okay. > >> There is a racc directory in both lib directories that includes a >> module named parser. There is nothing in either bin directory. The >> doc say use $ racc foo.y Where be the racc bat exe or ruby module? >> Or has the invocation changed? > > Therefore you need to install racc itself to compile compilers. I'm having some difficulty with this. I have the latest one-click installer I also have the free VC++ 7.1 compiler C:\racc-1.4.4-all>cl Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86 and the 32-bit Platform SDK for XP My build environment variables look correct to me: Path=C:\Program Files\Microsoft Visual C++ Toolkit 2003\bin;C:\Program Files\Microsoft Platform SDK\Bin;C:\Program Files\Microsoft Platform SDK\Bin\WinNT;c:\apps\ruby\bin;c:\apps\apache-ant-1.6.0\bin;C:\apps\fsc\PCOBOL32;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\COMMAND Include=C:\Program Files\Microsoft Visual C++ Toolkit 2003\include;C:\Program Files\Microsoft Platform SDK\Include; INETSDK=C:\Program Files\Microsoft Platform SDK lib=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;C:\Program Files\Microsoft Platform SDK\Lib;C:\APPS\FSC\PCOBOL32 VCToolkitInstallDir=C:\Program Files\Microsoft Visual C++ Toolkit 2003\ The first problem was after > ruby setup.rb config the config.save contains make-prog=make I changed this to nmake by hand. Running > ruby setup.rb setup I get.. Microsoft (R) Program Maintenance Utility Version 7.00.8882 Copyright (C) Microsoft Corp 1988-2000. All rights reserved. cl -nologo -LD -Fecparse.so cparse.obj msvcrt-ruby18.lib oldnames.lib user32.lib advapi32.lib wsock32.lib -link -incremental:no -debug -opt:ref -opt:icf -dll -libpath:"c:/apps/ruby/lib" -def:cparse-i386-mswin32.def LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib' NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. 'system nmake ' failed Try 'ruby setup.rb --help' for detailed usage. Okay I searched through all the files in RACC and in i386-mswin32\rbconfig,rb for MSVCRT.lib and I can't find what's causing this dependency. This is a VC 6.0 import library. Any ideas? Thanks -- J Lambert