public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Lee Iverson <leei@ai.sri.com>
To: Swen Thuemmler <swen@uni-paderborn.de>
Cc: egcs@cygnus.com
Subject: Re: Problems on SGI Irix 6.x.
Date: Thu, 11 Dec 1997 10:01:00 -0000	[thread overview]
Message-ID: <199712111631.IAA24585@Canada.AI.SRI.COM> (raw)
In-Reply-To: <Pine.GSO.3.96.971211141124.26932A-100000@cms-sec-es.uni-paderborn.de>

In message <Pine.GSO.3.96.971211141124.26932A-100000@cms-sec-es.uni-paderborn.d
e> you write:
> On Fri, 5 Dec 1997, Lee Iverson wrote:
> 
> > 2) LONG_MAX is set completely wrong under Irix 6.x.
> > 
> > Fixes for both problems are included below.
> 
> Your patch does not seem to fix it. The default is a LONG_MAX for
> sizeof(long) == 8, but the default for sizeof(long) is 4. If i reverse the
> patch below, all seems to be well.

Swen picked up a massive boo-boo.  The whole patch that I sent is
reversed.  The correct one follows:

1997-12-05  Lee Iverson  <leei@Canada.AI.SRI.COM>

	* config-ml.in (multi-do): LDFLAGS must include multilib
	  designator.

*** config-ml.in.~1~	Thu Aug 21 15:57:38 1997
--- config-ml.in	Fri Dec  5 11:49:08 1997
*************** multi-do:
*** 409,412 ****
--- 409,413 ----
  				LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
  				LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
+ 				LDFLAGS="$(LDFLAGS) $${flags}" \
  				$(DO)); then \
  		  true; \
1997-12-05  Lee Iverson  <leei@Canada.AI.SRI.COM>

	* mips/abi64.h (LONG_MAX_SPEC): Make redefinition conditional on
	  -mabi=64.
	  mips/mips.h (mips_abi_string): Minor comment fix.


*** gcc/config/mips/abi64.h.~1~	Wed Sep 17 17:31:49 1997
--- gcc/config/mips/abi64.h	Fri Dec  5 11:34:56 1997
*************** extern struct rtx_def *mips_function_val
*** 215,219 ****
  
  #undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}"
  
  /* ??? Unimplemented stuff follows.  */
--- 215,219 ----
  
  #undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{mabi=64: %{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}}"
  
  /* ??? Unimplemented stuff follows.  */
*** gcc/config/mips/mips.h.~1~	Fri Nov 14 15:02:32 1997
--- gcc/config/mips/mips.h	Fri Dec  5 11:35:10 1997
*************** extern int mips_isa;			/* architectural 
*** 140,144 ****
  extern char *mips_cpu_string;		/* for -mcpu=<xxx> */
  extern char *mips_isa_string;		/* for -mips{1,2,3,4} */
! extern char *mips_abi_string;		/* for -misa={32,n32,64} */
  extern int mips_split_addresses;	/* perform high/lo_sum support */
  extern int dslots_load_total;		/* total # load related delay slots */
--- 140,144 ----
  extern char *mips_cpu_string;		/* for -mcpu=<xxx> */
  extern char *mips_isa_string;		/* for -mips{1,2,3,4} */
! extern char *mips_abi_string;		/* for -mabi={32,n32,64} */
  extern int mips_split_addresses;	/* perform high/lo_sum support */
  extern int dslots_load_total;		/* total # load related delay slots */


-------------------------------------------------------------------------------
Lee Iverson     		SRI International
leei@ai.sri.com			333 Ravenswood Ave., Menlo Park CA 94025
http://www.ai.sri.com/~leei/	(650) 859-3307

      reply	other threads:[~1997-12-11 10:01 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-05 16:52 Lee Iverson
1997-12-11  5:30 ` Swen Thuemmler
1997-12-11 10:01   ` Lee Iverson [this message]

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=199712111631.IAA24585@Canada.AI.SRI.COM \
    --to=leei@ai.sri.com \
    --cc=egcs@cygnus.com \
    --cc=swen@uni-paderborn.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).