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

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

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


From: Will Morse
Subject: gas reports unrecognized option '-_SYSTYPE_SVR4' on IRIX 6.5.17m
Date: Mon, 20 Jan 2003 15:02:54 -0600


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

The full message:

gcc -o sgi-hello hello.c
/site/apps/CLUE/sgibin/bin/ld: unrecognized option '-_SYSTYPE_SVR4'
/site/apps/CLUE/sgibin/bin/ld: use the --help option for usage information
collect2: ld returned 1 exit status

This is my first time compiling on this particular machine since setting up the GNU GCC and binutils.
I do not have a standard SGI development environment on this system.

This problem occurs when compiling:

Using gcc --v
Reading specs from /site/apps/CLUE/gcc3/lib/gcc-lib/mips-sgi-irix6.5/3.2/specs
Configured with: ./configure --prefix=/site/apps/CLUE/gcc3 --disable-multilib --enable-languages=c,c++
Thread model: single
gcc version 3.2

which should be using

/site/apps/CLUE/sgibin/bin/as --version
GNU assembler 2.13
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `mips-sgi-irix6.5'.

and ld

ld --version
GNU ld version 2.13
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.

I have an out-of-date SGI cc on one of my SGI systems and I am trying to put
a gcc development environment aon all the systems using gcc on an NFS
mounted partition.    The other SGI boxes do not even have /bin/as or /bin/ld.
I could probably get that to happen, but I was wanting to use the GNU products
so that I would have the same compiler, assembler and linker across all my
platforms (Solaris, Linux and IRIX).







Anadarko Confidentiality Notice:
This electronic transmission and any attached documents or other writings
are intended only for the person or entity to which it is addressed and may
contain information that is privileged, confidential or otherwise protected
from disclosure. If you have received this communication in error, please
immediately notify sender by return e-mail and destroy the communication.
Any disclosure, copying, distribution or the taking of any action concerning
the contents of this communication or any attachments by anyone other
than the named recipient is strictly prohibited.

reply via email to

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