This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problems on SGI Irix 6.x.
- To: Swen Thuemmler <swen at uni-paderborn dot de>
- Subject: Re: Problems on SGI Irix 6.x.
- From: Lee Iverson <leei at ai dot sri dot com>
- Date: Thu, 11 Dec 1997 08:31:44 -0800
- cc: egcs at cygnus dot com
- Reply-To: egcs at cygnus dot com
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