]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
* doc/autoconf.texi (C Compiler): Compiling several files at once.
authorAkim Demaille <akim@epita.fr>
Thu, 14 Nov 2002 08:42:39 +0000 (08:42 +0000)
committerAkim Demaille <akim@epita.fr>
Thu, 14 Nov 2002 08:42:39 +0000 (08:42 +0000)
From Paul Eggert and Albert Chin-A-Young.

ChangeLog
doc/autoconf.texi

index def5e2445e348e38703f37905a52da7817d14d2a..b7b01c801e224686d11fb026189a3454161dd501 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-11-14  Akim Demaille  <akim@epita.fr>
+
+       * doc/autoconf.texi (C Compiler): Compiling several files at once.
+       From Paul Eggert and Albert Chin-A-Young.
+
 2002-11-14  Akim Demaille  <akim@epita.fr>
 
        * doc/autoconf.texi (C Compiler): Solitary backslashes.
index ff14a8c2b3d3d9bd7b0026f9ef60bd56b0caed25..75365fb58230dfed9876e6b1bf51bd228e46a3cd 100644 (file)
@@ -4978,6 +4978,21 @@ yields
 
 @noindent
 Removing the lines with solitary backslashes solves the problem.
+
+@item 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:
+
+@example
+$ @kbd{cc a.c b.c}
+a.c:
+b.c:
+@end example
+
+@noindent
+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})