Commit 245aefec by Mark Mitchell Committed by Mark Mitchell

mh-irix6 (CC): Don't set it.

	* config/mh-irix6 (CC): Don't set it.

	* INSTALL: Give special instructions for building GCC on Irix 6.
	* config/mips/x-iris6 (CC): Don't set it.
	(OLDCC): Likewise.

From-SVN: r35038
parent a41129f3
Fri Jul 14 18:13:23 2000 Mark P Mitchell <mark@codesourcery.com>
* config/mh-irix6 (CC): Don't set it.
2000-07-07 Phil Edwards <pme@sourceware.cygnus.com> 2000-07-07 Phil Edwards <pme@sourceware.cygnus.com>
* symlink-tree: Check number of arguments. * symlink-tree: Check number of arguments.
......
# Makefile changes for SGI's running IRIX-6.x. # Makefile changes for SGI's running IRIX-6.x.
SYSV = -DSYSV SYSV = -DSYSV
RANLIB = true RANLIB = true
# Specify the ABI, to ensure that all Irix 6 systems will behave the same.
# Also, using -32 avoids bugs that exist in the n32/n64 support in some
# versions of the SGI compiler.
CC = cc -32
Fri Jul 14 18:13:53 2000 Mark P Mitchell <mark@codesourcery.com>
* INSTALL: Give special instructions for building GCC on Irix 6.
* config/mips/x-iris6 (CC): Don't set it.
(OLDCC): Likewise.
2000-07-14 Jason Merrill <jason@redhat.com> 2000-07-14 Jason Merrill <jason@redhat.com>
* dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA * dwarf2out.c (dwarf2out_frame_debug_expr): If we store the CFA
......
...@@ -1296,6 +1296,21 @@ special things you must know: ...@@ -1296,6 +1296,21 @@ special things you must know:
and use the `--with-gnu-as' configure option when configuring gcc. and use the `--with-gnu-as' configure option when configuring gcc.
GNU as is distributed as part of the binutils package. GNU as is distributed as part of the binutils package.
Under Irix 6, if you are using Irix `cc' as your bootstrap
compiler, you must ensure that the N32 ABI is in use. To test
this, compile a simple C file with `cc' and then run `file'
on the resulting object file. The output should look like:
test.o: ELF N32 MSB ...
If you see:
test.o: ELF 32-bit MSB
then your version of `cc' uses the O32 ABI default. You should
set the environment variable `CC' to `cc -n32' before configuring
GCC.
`mips-sony-sysv' `mips-sony-sysv'
Sony MIPS NEWS. This works in NEWSOS 5.0.1, but not in 5.0.2 Sony MIPS NEWS. This works in NEWSOS 5.0.1, but not in 5.0.2
(which uses ELF instead of COFF). Support for 5.0.2 will probably (which uses ELF instead of COFF). Support for 5.0.2 will probably
......
# We force the use of the O32 ABI for two reasons.
# 1) For consistency, because some versions of Irix 6 default to the O32 ABI
# and some versions default to the N64 ABI.
# 2) To avoid SGI compiler bugs. The v6.x and v7.0 compilers from SGI have
# bugs that cause gcc to be miscompiled when the N32 or N64 ABIs are used.
# The O32 ABI is known to be OK.
CC = $(OLDCC)
OLDCC = cc -32
# Find all of the declarations from the header files # Find all of the declarations from the header files
FIXPROTO_DEFINES= -D__EXTENSIONS__ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS FIXPROTO_DEFINES= -D__EXTENSIONS__ -D_SGI_SOURCE -D_LANGUAGE_C_PLUS_PLUS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment