Article View: gnu.gcc.help
Article #50648Re: gcc v2.4.5 on SGI
From: meissner
Date: Mon, 30 Aug 1993 18:03
Date: Mon, 30 Aug 1993 18:03
44 lines
2486 bytes
2486 bytes
| In article <1993Aug26.185046.8210@vlsi.polymtl.ca> perrot@GRBB.polymtl.CA (Gildas PERROT) writes:
| >I am trying to install it on an Indigo R4000 (IRIX 4.0.5)
| >and I would like to know what is the parameters to give to
| >the "configure" script.
| I used one of
| mips-sgi-irix4
| or
| mips-sgi-iris4
| (I don't remember which; the right one is in a "case" within the
| configure command.)
| with no other changes. If the configure is right, there will be some
| -WN paramters to set cc table sizes, which are needed.
|
| gcc doesn't know about the R4000 as of 2.4.5, as far as I know; if you
| want mips2 code you need to use sgi's compiler with that flag.
Actually, GCC knows about the MIPS-II instructions, available with the
-mips2 switch. It is the MIPS-III instructions (ie, 64 bit) that it
doesn't know about.
| There is one header file that needs an optional part of the development
| CD installed to make gcc; I don't remember what it (either the header or
| the name for the component to install) is.
Quoting from the fine manual:
`mips-sgi-*'
Silicon Graphics MIPS machines running IRIX. In order to
compile GCC on an SGI the "c.hdr.lib" option must be
installed from the CD-ROM supplied from Silicon Graphics.
This is found on the 2nd CD in release 4.0.1.
Also of note:
On Irix version 4.0.5F, and perhaps on some other versions as well,
there is an assembler bug that reorders instructions incorrectly. To
work around it, specify the target configuration `mips-sgi-irix4loser'.
This configuration inhibits assembler optimization.
--
Michael Meissner email: meissner@osf.org phone: 617-621-8861
Open Software Foundation, 11 Cambridge Center, Cambridge, MA, 02142
Old hackers never die, their bugs just increase.
Technical Details
Message-ID:
<9308301800.AA14331@pasta.osf.org>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!osf.ORG!meissnerReferences:
meissner@osf.ORGShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,a6db7e5f4964c869,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-08-30 11:33:49 PST Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!osf.ORG!meissner From: meissner@osf.ORG Newsgroups: gnu.gcc.help Subject: Re: gcc v2.4.5 on SGI Date: 30 Aug 1993 14:03:33 -0400 Organization: GNUs Not Usenet Lines: 44 Sender: daemon@cis.ohio-state.edu Distribution: gnu Message-ID: <9308301800.AA14331@pasta.osf.org> References: meissner@osf.ORG