From: Akim Demaille Date: Thu, 14 Nov 2002 08:42:39 +0000 (+0000) Subject: * doc/autoconf.texi (C Compiler): Compiling several files at once. X-Git-Tag: AUTOCONF-2.55~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b37eb00d7625672df19dc6afdd89d7bd6e03d970;p=thirdparty%2Fautoconf.git * doc/autoconf.texi (C Compiler): Compiling several files at once. From Paul Eggert and Albert Chin-A-Young. --- diff --git a/ChangeLog b/ChangeLog index def5e2445..b7b01c801 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-11-14 Akim Demaille + + * doc/autoconf.texi (C Compiler): Compiling several files at once. + From Paul Eggert and Albert Chin-A-Young. + 2002-11-14 Akim Demaille * doc/autoconf.texi (C Compiler): Solitary backslashes. diff --git a/doc/autoconf.texi b/doc/autoconf.texi index ff14a8c2b..75365fb58 100644 --- a/doc/autoconf.texi +++ b/doc/autoconf.texi @@ -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})