At 02:42 PM 8/18/2006, Eli Zaretskii wrote: >> Date: Fri, 18 Aug 2006 12:56:56 -0400 >> From: "William A. Hoffman" <[EMAIL PROTECTED]> >> Cc: make-w32@gnu.org >> >> >Please note that it is considered a shell character on _all_ systems >> >when a Unixy shell is invoked. I believe the reason is that a Posix >> >shell removes the quotes from the command line, and has other special >> >processing inside a quoted argument. So Make invokes the shell, to >> >avoid knowing too much about this processing. >> OK, but there seems to be some extra work that needs to be done in >> CreateProcess to get the arguments correct. > >Only when the shell is the Cygwin shell, and I don't really understand >the details of the problem you reported. Your Makefile works fine >with a native sh.exe.
I get a different failure when the shell is from msys: c:/cygwin/bin/gcc.exe "a.c" "b.c" CreateProcess(C:\msys\1.0\bin\sh.exe,C:/msys/1.0/bin/sh.exe -c "c:/cygwin/bin/gcc.exe \"a.c\" \"b.c\"",...) Putting child 0x00a73ca0 (broken) PID 4015928 on the chain. Live child 0x00a73ca0 (broken) PID 4015928 /usr/bin/sh: -c: line 3: syntax error: unexpected end of file However, this is an older install of msys perhaps. $ sh --version GNU bash, version 2.04.0(1)-release (i686-pc-msys) Copyright 1999 Free Software Foundation, Inc. -Bill _______________________________________________ Make-w32 mailing list Make-w32@gnu.org http://lists.gnu.org/mailman/listinfo/make-w32