bug-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 1.75 test suite failures HP-UX C and "cc a.c b.c"


From: Akim Demaille
Subject: Re: 1.75 test suite failures HP-UX C and "cc a.c b.c"
Date: 14 Nov 2002 09:42:27 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Honest Recruiter)

>From Paul:
| Thanks.  I installed this patch:
| 
| 2002-11-13  Paul Eggert  <address@hidden>
| 
|       * tests/input.at (Torturing the Scanner): Don't invoke "cc a.c b.c
|       -o c"; the HP-UX 11i C compiler chatters during compilation.
|       Instead, invoke "cc -c a.c -o a.o; cc -c b.c -o b.o; cc a.o b.o -o c".
|       * tests/headers.at (export YYLTYPE): Likewise.

I'm adding this:

Index: ChangeLog
from  Akim Demaille  <address@hidden>

        * doc/autoconf.texi (C Compiler): Compiling several files at once.
        From Paul Eggert and Albert Chin-A-Young.

Index: doc/autoconf.texi
===================================================================
RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v
retrieving revision 1.714
diff -u -u -r1.714 autoconf.texi
--- doc/autoconf.texi 14 Nov 2002 08:17:46 -0000 1.714
+++ doc/autoconf.texi 14 Nov 2002 08:41:55 -0000
@@ -4978,6 +4978,21 @@
 
 @noindent
 Removing the lines with solitary backslashes solves the problem.
+
address@hidden Don't compile several files at once if output matters to you
+Some compilers, such as the HP's, reports the name of the file it is
+compiling @emph{when} they are several.  For instance:
+
address@hidden
+$ @kbd{cc a.c b.c}
+a.c:
+b.c:
address@hidden example
+
address@hidden
+This can cause problems if you observe the output of the compiler to
+detect failures.  Invoking @samp{cc -c a.c -o a.o; cc -c b.c -o b.o; cc
+a.o b.o -o c} solves the issue.
 @end table
 
 @defmac AC_PROG_CC (@ovar{compiler-search-list})




reply via email to

[Prev in Thread] Current Thread [Next in Thread]