* config.guess changs
@ 2001-12-27 10:08 Ryan Murray
2001-12-27 17:53 ` H . J . Lu
0 siblings, 1 reply; 4+ messages in thread
From: Ryan Murray @ 2001-12-27 10:08 UTC (permalink / raw)
To: linux-mips
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
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".
--
Ryan Murray, Debian Developer (rmurray@cyberhqz.com, rmurray@debian.org)
The opinions expressed here are my own.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: config.guess changs
2001-12-27 10:08 config.guess changs Ryan Murray
@ 2001-12-27 17:53 ` H . J . Lu
2001-12-28 5:06 ` Ryan Murray
2002-01-01 22:19 ` Ben Elliston
0 siblings, 2 replies; 4+ messages in thread
From: H . J . Lu @ 2001-12-27 17:53 UTC (permalink / raw)
To: Ryan Murray; +Cc: linux-mips, config-patches
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
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: config.guess changs
2001-12-27 17:53 ` H . J . Lu
@ 2001-12-28 5:06 ` Ryan Murray
2002-01-01 22:19 ` Ben Elliston
1 sibling, 0 replies; 4+ messages in thread
From: Ryan Murray @ 2001-12-28 5:06 UTC (permalink / raw)
To: H . J . Lu; +Cc: linux-mips, config-patches
[-- Attachment #1: Type: text/plain, Size: 942 bytes --]
On Thu, Dec 27, 2001 at 09:53:06AM -0800, H . J . Lu 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
That fixes the problem here.
--
Ryan Murray, Debian Developer (rmurray@cyberhqz.com, rmurray@debian.org)
The opinions expressed here are my own.
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: config.guess changs
2001-12-27 17:53 ` H . J . Lu
2001-12-28 5:06 ` Ryan Murray
@ 2002-01-01 22:19 ` Ben Elliston
1 sibling, 0 replies; 4+ messages in thread
From: Ben Elliston @ 2002-01-01 22:19 UTC (permalink / raw)
To: H . J . Lu; +Cc: Ryan Murray, linux-mips
>>>>> "H" == H J Lu <hjl@lucon.org> 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 <hjl@gnu.org>
H> * config.guess (mips:Linux:*:*): Undefine CPU, mips and mipsel
H> first.
Thanks; applied to the FSF master copy.
Ben
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-01 23:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-27 10:08 config.guess changs Ryan Murray
2001-12-27 17:53 ` H . J . Lu
2001-12-28 5:06 ` Ryan Murray
2002-01-01 22:19 ` Ben Elliston
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.