Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com To: cygwin AT sourceware DOT cygnus DOT com Subject: sh doesn't like make's quoting From: Todd Greer Date: 13 Oct 1999 18:46:48 -0500 Message-ID: Lines: 33 X-Mailer: Gnus v5.7/Emacs 20.4 I looked in archives for this, but couldn't find help... I'm having problems with 'echo "foo"' in a makefile, using a make I built. If someone can either tell me how to fix the problem or where to get a recent make that will work, I would greatly appreciate it. I recently compiled the latest version of make (3.78.1) because I want the $(MAKECMDGOALS) feature that was introduced in 3.77. (Cygwin B20.1 has 3.75). I used their build_w32.bat, which uses VC. I #defined HAVE_CYGWIN_SHELL (and HAVE_CASE_INSENSITIVE_FS, though that probably doesn't matter) in config.h_w32 and config.h (I assume the latter is automatically generated from the former, but I put it in just in case.) The problem is a simple make action: 'echo "making all"' (The three \ newlines on the last three lines are for usenet--The CreateProcess line is actually one line. running make -d all yields, among much other output: echo "making all" Syntax error: Unterminated quoted string make: *** [all] Error 2 CreateProcess(d:\cygnus\CYGWIN~1\H-I586~1\bin\sh.exe,\ d:/cygnus/CYGWIN~1/H-I586~1/bin/sh.exe\ -c "echo \"making all\"",...)\ I'm guessing that the quoting is messed up. It doesn't matter whether MAKE_MODE is not set, unix, or win32. TIA for any help -- Todd Greer -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com