summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-08-19 16:23:17 +0000
committerJim Meyering <jim@meyering.net>2006-08-19 16:23:17 +0000
commita075864c29528ea0c9e0ec68508a444798564394 (patch)
treea83b27649eaca470431e3546fdc846f91288d18f
parent9b3bb934bcb7b892921cfd9560d34363d8de57b9 (diff)
downloadcoreutils-a075864c29528ea0c9e0ec68508a444798564394.tar.xz
* README: Describe potential "pre-C99 build failure", and work-around.
-rw-r--r--ChangeLog2
-rw-r--r--README16
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 30ba76732..c572bed93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2006-08-19 Jim Meyering <jim@meyering.net>
+ * 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 196cc7114..89c53fa6f 100644
--- a/README
+++ b/README
@@ -61,6 +61,22 @@ 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
-----------------------