This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.0.3 / SGI 64-bit platforms
- From: Albert Chin <gcc at lists dot thewrittenword dot com>
- To: Atro dot Tossavainen at Helsinki dot FI
- Cc: gcc at gcc dot gnu dot org
- Date: Mon, 28 Jan 2002 17:41:24 -0600
- Subject: Re: gcc 3.0.3 / SGI 64-bit platforms
- References: <200201280721.g0S7L7H20154@kruuna.Helsinki.FI>
- Reply-to: gcc at gcc dot gnu dot org
On Mon, Jan 28, 2002 at 09:21:07AM +0200, Atro Tossavainen wrote:
> I recently built gcc 3.0.3 for IRIX 6.5 and noticed that the 64-bit ABI
> is always compiled with the MIPS IV ISA.
>
> For R1x000-based machines this is fine, but there are still Onyxes out
> there which allow the 64-bit ABI but are R4400-based and consequently
> will only allow MIPS III. The resulting 64-bit gcc bombs on the Onyx.
>
> My /etc/compiler.defaults (for bootstrapping gcc with the SGI compiler)
> explicitly specified n32, mips3.
This only builds the stage1 compiler for N32, mips3. the resulting GCC
binary is then used to build the stage2 and stage3 compilers. So, try
this (untested):
$ ../configure ...
$ gmake BOOT_CFLAGS="-O2 -g -mips3" bootstrap
--
albert chin (china@thewrittenword.com)