All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H . J . Lu" <hjl@lucon.org>
To: Ryan Murray <rmurray@debian.org>
Cc: linux-mips@oss.sgi.com, config-patches@gnu.org
Subject: Re: config.guess changs
Date: Thu, 27 Dec 2001 09:53:06 -0800	[thread overview]
Message-ID: <20011227095306.A16072@lucon.org> (raw)
In-Reply-To: <20011227020844.U29645@cyberhqz.com>; from rmurray@debian.org on Thu, Dec 27, 2001 at 02:08:44AM -0800

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

  reply	other threads:[~2001-12-27 18:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-27 10:08 config.guess changs Ryan Murray
2001-12-27 17:53 ` H . J . Lu [this message]
2001-12-28  5:06   ` Ryan Murray
2002-01-01 22:19   ` Ben Elliston

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011227095306.A16072@lucon.org \
    --to=hjl@lucon.org \
    --cc=config-patches@gnu.org \
    --cc=linux-mips@oss.sgi.com \
    --cc=rmurray@debian.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.