[Top][All Lists]
[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})
- Re: 1.75 test suite failures with Sun C compiler, (continued)
- Re: 1.75 test suite failures with Sun C compiler, Akim Demaille, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Albert Chin-A-Young, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Akim Demaille, 2002/11/12
- Re: 1.75 test suite failures with Sun C compiler, Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failures with Sun C compiler, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures with AIX 4.3.2, Paul Eggert, 2002/11/13
- Message not available
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c", Paul Eggert, 2002/11/13
- Re: 1.75 test suite failures HP-UX C and "cc a.c b.c",
Akim Demaille <=
- Message not available
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Albert Chin-A-Young, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Paul Eggert, 2002/11/13
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Akim Demaille, 2002/11/14
- Message not available
- Re: 1.75 test suite failure with HP-UX C compiler and #endif, Albert Chin-A-Young, 2002/11/13