This is the mail archive of the gcc-bugs@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]

Re: Bootstrap failure on mips-sgi-irix6.5


---N8TM@aol.com wrote:
>
> In a message dated 6/29/98 1:26:03 AM Pacific
Daylight Time,
> mark@markmitchell.com writes:
> 
> > ld32: FATAL 11: Object file format error
(/usr/tmp/ccUytB0C):
> >        unrecognizable 
> 
> This resembles the problem in Irix 6.4 which
results from neglecting to
> specify 'cc -n32' as the bootstrap compiler.  It's
supposed to be possible to
> build --with-gnu-ld --with-gnu-as as well, which
enables -g at the expense of
> full optimization.
> 

 be careful here. If you do this, you will have
to configure for mips-sgi-irix5.3. GNU-as only
generates "o32" code, while gcc2.8.x and egcs
seem to generate only "n32" for IRIX-6.x. 

 It might be a good idea, though, to do a

setenv SGI_ABI "-n32"

 The n32 version will support "-g" without needing
GNU-as.

Martin
===
------------------------------------------------------
Martin Knoblauch
email: knobi@knobisoft.de or knobi@rocketmail.com
www:   http://www.knobisoft.de








_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com



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