diff options
author | Kevin Ryde <user42@zip.com.au> | 2001-02-28 22:04:50 +0100 |
---|---|---|
committer | Kevin Ryde <user42@zip.com.au> | 2001-02-28 22:04:50 +0100 |
commit | 1e56ab3a4198f24754b69e0862b347e792195a6d (patch) | |
tree | a7eb3bbf1dffdc8036bd50dd046522aad135ff4b /doc/configuration | |
parent | e371d6bd2e6caa3013b3f72b9face1f109255692 (diff) | |
download | gmp-1e56ab3a4198f24754b69e0862b347e792195a6d.tar.gz |
* configure.in (none-*-*): Add ABI=longlong.
* doc/configuration (Long long limb testing): Describe it.
Diffstat (limited to 'doc/configuration')
-rw-r--r-- | doc/configuration | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/doc/configuration b/doc/configuration index 35b3765c9..b6a4b0354 100644 --- a/doc/configuration +++ b/doc/configuration @@ -306,13 +306,10 @@ This then should be a good full K&R test. ** Long long limb testing On systems where gcc supports long long, but a limb is normally just a -long, the following can be used to force long long for testing, +long, the following can be used to force long long for testing. It +will probably run very slowly. - ./configure CPPFLAGS="-D_LONG_LONG_LIMB -U__GNUC__" --host=none - --DNO_ASM should work in place of -U__GNUC__ too, so that gcc specifics -will be used, but no assembler code. Naturally no assembler code can -be used in such a setup since it'll be using the wrong limb size. + ./configure --host=none ABI=longlong ** Function argument conversions @@ -331,6 +328,7 @@ in combination with the long long limb setups above is good. Conversions between int and long aren't warned about by gcc when they're the same size, which is unfortunate because casts should be used in such cases, for the benefit of those (perhaps rare) systems -where int!=long and the difference matters in function calls. +where int!=long under a K&R compiler and where the difference matters +in function calls. /* eof doc/configuration */ |