| To: | Ryan Murray <rmurray@debian.org> |
|---|---|
| Subject: | Re: config.guess changs |
| From: | "H . J . Lu" <hjl@lucon.org> |
| Date: | Thu, 27 Dec 2001 09:53:06 -0800 |
| Cc: | linux-mips@oss.sgi.com, config-patches@gnu.org |
| In-reply-to: | <20011227020844.U29645@cyberhqz.com>; from rmurray@debian.org on Thu, Dec 27, 2001 at 02:08:44AM -0800 |
| References: | <20011227020844.U29645@cyberhqz.com> |
| Sender: | owner-linux-mips@oss.sgi.com |
| User-agent: | Mutt/1.2.5i |
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
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: vmalloc bugs in 2.4.5???, Tommy S. Christensen |
|---|---|
| Next by Date: | [patch] fix compares of jiffies, Tim Schmielau |
| Previous by Thread: | config.guess changs, Ryan Murray |
| Next by Thread: | Re: config.guess changs, Ryan Murray |
| Indexes: | [Date] [Thread] [Top] [All Lists] |