diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-04-10 11:55:54 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-04-10 11:56:43 -0700 |
commit | cc95246ee2ed674cd407f0f80fd77f3364012458 (patch) | |
tree | 2d7365702b4aced1d3df3091d7257060e8787e4b | |
parent | ae4dace2ec591fafd501badbcf75d51d2260cfbe (diff) | |
download | coreutils-cc95246ee2ed674cd407f0f80fd77f3364012458.tar.gz |
doc: update re 32-bit builds
* README-install: Mention how to build on 32-bit-only hosts.
This builds on a previous patch by Pádraig Brady.
-rw-r--r-- | README-install | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/README-install b/README-install index 0c5bcf470..6ab5b4f8c 100644 --- a/README-install +++ b/README-install @@ -54,13 +54,13 @@ all mention of "[$(EXEEXT)" from src/Makefile. 32 bit time_t build failures ------------------------ -On systems where it's determined that 64 bit time_t is supported -(indicated by touch -t <some time after 2038>), but that coreutils -would be built with a narrower time_t, the build will fail. -This can be allowed by passing TIME_T_32_BIT_OK=yes to configure, -or avoided by enabling 64 bit builds. For example GCC on AIX defaults -to 32 bit, and to enable the 64 bit ABI one can use: -./configure CFLAGS=-maix64 LDFLAGs=-maix64 AR='ar -X64' +Although 32-bit builds fail if that forces time_t to be 32 bits, this +can be fixed by using 64-bit builds. For example, on AIX where GCC +defaults to 32 bits, one can use "./configure CC='gcc -maix64' AR='ar +-X64'"; similarly, on Solaris one can configure with CC='gcc -m64'. +If all else fails one can configure with ac_year2038_required=no; +however, this will mishandle timestamps after 2038, and please file +bug reports for any such situations. ************************************************* |