| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <4057DF44.10001@mariani.ws> |
| Date: | Tue, 16 Mar 2004 21:16:52 -0800 |
| From: | Gianni Mariani <gianni AT mariani DOT ws> |
| User-Agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529 |
| MIME-Version: | 1.0 |
| To: | cygwin AT cygwin DOT com |
| Subject: | Problems with make on the latest Cygwin gmake |
| X-IsSubscribed: | yes |
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |