> Date: Mon, 18 Jun 2007 14:24:48 -0700 > From: "Daniel Mendyke" <[EMAIL PROTECTED]> > > I'm running windows XP with Gnu make 3.8.1 > > C:\tmp$ make --version > GNU Make 3.81 > Copyright (C) 2006 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. > There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. > > This program built for i686-pc-mingw32 > > C:\tmp$
Same here, almost: GNU Make 3.81 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. This program built for Windows32 Where did you get the binary of Make? I built mine myself from the sources, using the build_w32.bat batch file and the MinGW GCC compiler. > If my Makefile contains quoted values it ends with an error message, > if I remove the quotes the Makefile builds correctly. The following > examples illustrate the problem. Note that 'main.cc' is an error-free > C++ source file in 'c:\tmp'. > > Example #1: --------------------------------- > > C:\tmp$ cat Makefile > > test: main.cc > g++ -o sample main.cc -I"c:\tmp" > > C:\tmp$ make > g++ -o sample main.cc -I"c:\tmp" > g++: main.cc: No such file or directory > g++: no input files > make: *** [test] Error 1 I cannot reproduce this with my copy of Make 3.81: it works correctly both with and without the quotes. How about if you build Make yourself, like I did, and see if that makes the problem go away? > Can anyone suggest reasons why make is failing? Some snafu in quoting the quote characters when g++ is invoked via CreateProcess, I presume. But since it works for me, I cannot even try debugging it. Is it possible that you are using the MSYS port of Make? If so, don't: it is not intended to be used except for MSYS work. _______________________________________________ Make-w32 mailing list Make-w32@gnu.org http://lists.gnu.org/mailman/listinfo/make-w32