Article View: gnu.gcc.help
Article #42223Re: Gnu Make 3.74 continues after error
From: Daniel Rosenblatt
Date: Mon, 01 Jan 1996 00:00
Date: Mon, 01 Jan 1996 00:00
36 lines
1681 bytes
1681 bytes
Steve Sullivan (sullivan@indra.com) wrote:
: I'm running gnu make 3.74 on Solaris x.86 on a pentium,
: and it continues processing the Makefile even after one the
: targets failed. It's as if I used "-k", when in fact I
: didn't. I've tried "make -S", and STILL it continues!
: =============== begin Makefile ====================
: DIRS = suba subb subc
:
: all:
: for ii in $(DIRS); do (cd $$ii; make all); done
: =============== end Makefile ====================
I've email'd the GNU Make maintainers and they say this is by design.
I've developed a simple patch to the GNU Make source:
--- make-3.67.orig/job.c Wed May 12 13:20:45 1993
+++ make-3.67/job.c Fri Jul 9 09:19:57 1993
@@ -1319,12 +1319,14 @@
argument list. */
unsigned int shell_len = strlen (shell);
- static char minus_c[] = " -c ";
+ static char minus_c[] = " -ce ";
unsigned int line_len = strlen (line);
char *new_line = (char *) alloca (shell_len + (sizeof (minus_c) - 1)
+ (line_len * 2) + 1);
+ if (keep_going_flag)
+ minus_c[3] = ' ';
ap = new_line;
bcopy (shell, ap, shell_len);
ap += shell_len;
--
Dan R -- C is to scalpel as C++ is to swiss-army chainsaw
Technical Details
Message-ID:
<4c95g5$dkk@citadel.evolving.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<DKGysu.BDL.0.net@indra.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,462c7c3a1077a015 X-Google-Attributes: gid11318c,public From: drosenb@evolving.com (Daniel Rosenblatt) Subject: Re: Gnu Make 3.74 continues after error Date: 1996/01/01 Message-ID: <4c95g5$dkk@citadel.evolving.com> X-Deja-AN: 133616620 references: <DKGysu.BDL.0.net@indra.com> organization: Evolving Systems, Inc. newsgroups: gnu.gcc.help