On Thu, Dec 27, 2001 at 02:08:44AM -0800, Ryan Murray wrote: > 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 <hjl@gnu.org> * config.guess (mips:Linux:*:*): Undefine CPU, mips and mipsel first. --- config.guess Wed Dec 12 19:53:12 2001 +++ config.guess Thu Dec 27 09:51:18 2001 @@ -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