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 Date: Thu, 4 Dec 2003 12:04:44 +0200 From: Baurjan Ismagulov To: cygwin AT cygwin DOT com Subject: Re: Query regarding Cygwin make/Gnu Make Message-ID: <20031204100442.GC16916@ata.cs.hacettepe.edu.tr> Mail-Followup-To: cygwin AT cygwin DOT com References: <21559A0D4CF8D511B51100065B38178B0166FC14 AT mshyd2 DOT hyd DOT deshaw DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21559A0D4CF8D511B51100065B38178B0166FC14@mshyd2.hyd.deshaw.com> User-Agent: Mutt/1.5.4i Hello, Karthik. On Thu, Dec 04, 2003 at 03:04:28PM +0530, Rajagopalan, Karthik wrote: > test$(EXE) return -1 back because of encountering a error in code test.c. I'm not sure what values are meaningful for make and how -1 is interpreted: the argument of exit(3) seems to be (signed int), but bash returns something like (unsigned char), where values 126, 127 and 128-... have special meanings, which yields codes 0 - 125 for use. > This return value stops the execution of "make" utility in Cygwin to proceed > to next command > > diff test.res test.std > > where in Linux it proceeds to execute the above code. On my Debian GNU/Linux 3.0 system make doesn't proceed to the next command. "info make" states the following: "If there is an error (the exit status is nonzero), `make' gives up on the current rule, and perhaps on all rules." I can't see in which circumstances make gives up on all rules, but what I see is that it should abort the execution of the current rule on any non-zero exit status. Hope this helps, Baurjan. -- 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/