From: Jim Meyering Date: Sat, 19 Aug 2006 16:23:17 +0000 (+0000) Subject: * README: Describe potential "pre-C99 build failure", and work-around. X-Git-Tag: v6.1~14 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a075864c29528ea0c9e0ec68508a444798564394;p=thirdparty%2Fcoreutils.git * README: Describe potential "pre-C99 build failure", and work-around. --- diff --git a/ChangeLog b/ChangeLog index 30ba767322..c572bed93a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2006-08-19 Jim Meyering + * README: Describe potential "pre-C99 build failure", and work-around. + Some of my 2006-07-03 changes to tests/*/Makefile.am were being backed out due to updates provoked by the copyright changes. * tests/Makefile.am.in (PATH): Prepend $(VG_PATH_PREFIX), so that diff --git a/README b/README index 196cc71147..89c53fa6fb 100644 --- a/README +++ b/README @@ -60,6 +60,22 @@ the ls `time-1' test to fail. I believe that is due to a bug in the way Sun implemented link(2) and chmod(2). +*********************** +pre-C99 build failure +----------------------- + +There is a new, implicit build requirement: +To build the coreutils from source, you should have a C99-conforming +compiler, due to the use of declarations after non-declaration statements +in several files in src/. There is code in configure to find and, if +possible, enable an appropriate compiler. However, if configure doesn't +find a C99 compiler, it continues nonetheless, and your build will fail. +If that happens, simply apply the included patch using the following +command, and then run make again: + + cd src && patch < c99-to-c89.diff + + *********************** HPUX 11.x build failure -----------------------