This is the mail archive of the
mailing list for the Cygwin project.
sh doesn't like make's quoting
- To: cygwin at sourceware dot cygnus dot com
- Subject: sh doesn't like make's quoting
- From: Todd Greer <tgreer at acm dot org>
- Date: 13 Oct 1999 18:46:48 -0500
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
-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 <email@example.com>
Want to unsubscribe from this list?
Send a message to firstname.lastname@example.org