|
From: Greg C. <gch...@sb...> - 2011-07-02 01:52:54
|
On 2011-07-02 01:26Z, Nathan Ridge wrote: > > Thanks for your reply, Greg. > >> > Note that while I have MSYS installed on my system, I am using a regular Windows command >> > prompt, not MSYS, and I am using mingw32-make, not MSYS make. >> >> 'make' detects 'sh.exe' on the PATH. If you don't want it to use >> the MSYS shell, then take MSYS off the PATH. > > Is there a way to disable this "feature" (perhaps with a command-line switch)? Put this in your makefile: SHELL = /path/to/CMD.EXE > I like MSYS being in my path (I use ls, grep, etc. from the windows command line > all the time), but I need to make non-MSYS makefiles. > > I have been using this arrangement for a long time and I had no problems with it, > because I used the gcc compiler which didn't have any switches that look like paths > to MSYS. Try doubling the slashes, e.g.: cl //c //O2 "src\test.cpp" |