config.guess changs
The config.guess rework of 12/12/2001 doesn't work on big endian machines, as the preprocessor defines "mips" to be " 1", so the cpp -E output ends up being "CPU= 1".
Signature · 2 lines
Ryan Murray, Debian Developer ([email protected], [email protected]) The opinions expressed here are my own.
Quoted 4 lines · Ryan Murray
The config.guess rework of 12/12/2001 doesn't work on big endian machines, as the preprocessor defines "mips" to be " 1", so the cpp -E output ends up being "CPU= 1".
Try this patch.
H.J.
----
2001-12-27 H.J. Lu <[email protected]>
* config.guess (mips:Linux:*:*): Undefine CPU, mips and mipsel first.
config.guess +3 -0
@@ -770,6 +770,9 @@ EOF mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else
Quoted 17 lines · H . J . Lu
Quoted 3 lines
The config.guess rework of 12/12/2001 doesn't work on big endian machines, as the preprocessor defines "mips" to be " 1", so the cpp -E output ends up being "CPU= 1".
Try this patch.
H.J.
----
2001-12-27 H.J. Lu <[email protected]>* config.guess (mips:Linux:*:*): Undefine CPU, mips and mipsel first.
config.guess EOF · line 778
Quoted 9 lines
config.guess +3
-0@@ -770,6 +770,9 @@ EOF mips:Linux:*:*) eval $set_cc_for_build sed 's/^ //' << EOF >$dummy.c + #undef CPU + #undef mips + #undef mipsel #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL) CPU=mipsel #else
That fixes the problem here.
Signature · 2 lines
Ryan Murray, Debian Developer ([email protected], [email protected]) The opinions expressed here are my own.
Quoted 5 lines
Quoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
"H" == H J Lu <[email protected]> writes:
The config.guess rework of 12/12/2001 doesn't work on big endian machines, as the preprocessor defines "mips" to be " 1", so the cpp -E output ends up being "CPU= 1".
H> Try this patch.
H> 2001-12-27 H.J. Lu <[email protected]>
H> * config.guess (mips:Linux:*:*): Undefine CPU, mips and mipsel
H> first.
Thanks; applied to the FSF master copy.
Ben