This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc 3.0.3 / SGI 64-bit platforms


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]