> MSVCDIR="C:/Program Files/Microsoft Visual Studio/VC98"
I have two suggestions.
First, don't hardcode that path into a makefile. Other developers
might install it in a different location, and having to edit makefiles
is really annoying. If you're going to enforce that everyone have
it in the same location, you might as well enforce that it get installed
at a location without spaces (i.e. C:/MSDEV).
Second, adopt a policy that says that a user's environment must be
sufficient to find any tool. For example, MSDEV comes with a file
VCVARS.BAT that creates environment variables based on where the
tool was installed. Unfortunately, the variables still have spaces
in them. So, my preference is to set environment variables myself
rather than using VCVARS.BAT. If you do that, then you can use the
"mangled" version of the path (MSVCDIR="C:/PROGRA~1/MICROS~1/VC98").
I have successfully created a cross-platform gmake config that uses
tricks like these to allow building on linux, various unixen, as well
as win32 under cygnus (using gcc or M$ cl).
-Roger
Roger Gonzalez
[EMAIL PROTECTED]