This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems on SGI Irix 6.x.
- To: egcs at cygnus dot com
- Subject: Problems on SGI Irix 6.x.
- From: Lee Iverson <leei at ai dot sri dot com>
- Date: Fri, 05 Dec 1997 14:02:19 -0800
Aside from the previously mentioned problem with shared libraries,
there are a number of significant problems which showed up when trying
to compile libg++-2.8.0b6.3 with egcs.
1) The -mabi=? argument for the multilib builds should be passed in
the LDFLAG.
2) LONG_MAX is set completely wrong under Irix 6.x.
Fixes for both problems are included below.
1997-12-05 Lee Iverson <leei@Canada.AI.SRI.COM>
* config-ml.in (multi-do): LDFLAGS must include multilib
designator.
diff -rpc2 ../DIST-egcs-snapshot/config-ml.in ./config-ml.in
*** ../DIST-egcs-snapshot/config-ml.in Fri Dec 5 11:49:08 1997
--- ./config-ml.in Thu Aug 21 15:57:38 1997
*************** multi-do:
*** 409,413 ****
LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
- LDFLAGS="$(LDFLAGS) $${flags}" \
$(DO)); then \
true; \
--- 409,412 ----
1997-12-05 Lee Iverson <leei@Canada.AI.SRI.COM>
* mips/abi64.h (LONG_MAX_SPEC): Make redefinition conditional on
-mabi=64.
mips.h: Cosmetic change in comment of mips_abi_string.
diff -rpc2 ../DIST-egcs-snapshot/gcc/config/mips/abi64.h ./gcc/config/mips/abi64.h
*** ../DIST-egcs-snapshot/gcc/config/mips/abi64.h Fri Dec 5 11:34:56 1997
--- ./gcc/config/mips/abi64.h Wed Sep 17 17:31:49 1997
*************** extern struct rtx_def *mips_function_val
*** 215,219 ****
#undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{mabi=64: %{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}}"
/* ??? Unimplemented stuff follows. */
--- 215,219 ----
#undef LONG_MAX_SPEC
! #define LONG_MAX_SPEC "%{!mno-long64:-D__LONG_MAX__=9223372036854775807LL}"
/* ??? Unimplemented stuff follows. */
diff -rpc2 ../DIST-egcs-snapshot/gcc/config/mips/mips.h ./gcc/config/mips/mips.h
*** ../DIST-egcs-snapshot/gcc/config/mips/mips.h Fri Dec 5 11:35:10 1997
--- ./gcc/config/mips/mips.h Thu Nov 13 13:08:05 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 -mabi={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 -misa={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