bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gas reports unrecognized option '-_SYSTYPE_SVR4' on IRIX 6.5.17m


From: Nick Clifton
Subject: Re: gas reports unrecognized option '-_SYSTYPE_SVR4' on IRIX 6.5.17m
Date: 21 Jan 2003 15:08:14 +0000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1

Hi Will,

> Program:              ld 
> Platform:             IRIX 6.5.17m
> Problem:              /site/apps/CLUE/sgibin/bin/ld: unrecognized
>                       option '-_SYSTYPE_SVR4' which is coming from
>                       gcc and gas

Note - you say the error message is coming from 'gas' but in fact it
is coming from 'ld'.  Gas is the assembler, ld is the linker.

> gcc -o sgi-hello hello.c
> /site/apps/CLUE/sgibin/bin/ld: unrecognized option '-_SYSTYPE_SVR4'

Please could you try adding "-v" to the gcc command line.  This will
put it in verbose mode where it will display each command line before
it executes it.  This will help you/us determine the exact problem
with the linker command line.

Also - the linker program mentioned in the error message appears to be
an SGI linker, not a GNU linker.  So it is not really a GNU binutils
problem at all...


> Reading specs from
> /site/apps/CLUE/gcc3/lib/gcc-lib/mips-sgi-irix6.5/3.2/specs

It is possible that the problem will be with this 'specs' file.  It is
probably set up to work with the GNU linker and you will probably need
to create your own version to work with the SGI linker that you appear
to be using.


Cheers
        Nick





reply via email to

[Prev in Thread] Current Thread [Next in Thread]