Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/