This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Problems with make on the latest Cygwin gmake
- From: Gianni Mariani <gianni at mariani dot ws>
- To: cygwin at cygwin dot com
- Date: Tue, 16 Mar 2004 21:16:52 -0800
- Subject: Problems with make on the latest Cygwin gmake
I just installed Cygwin from scratch and I'm having gnu make trouble.
Given this Makefile
...............
A:
find . -name xx \! -path \*foo\*
B:
find . -name xx \! -path \*foo\* >&1
..................
Notice that "make A" and "make B" are virtually identical.
$ make -f broke_make A
find . -name xx \! -path \*foo\*
find: paths must precede expression
Usage: find [path...] [expression]
make: *** [A] Error 1
$ make -f broke_make B
find . -name xx \! -path \*foo\* >&1
After doing an strace, I noticed that B will invoke sh.exe and A will
not. I also noticed that the "\!" for A does not turn into the "!" as
in the B case when find.exe is exec()ed.
So, it seems like gmake has a problem with parsing the command line.
This works fine on non cygwin machines with the same version of make.
Has anyone seen this before ?
I have earlier versions of Cygwin where this works fine.
If you need chgcheck output - here it is:
http://www.makexs.com/cygcheck.out
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/