------- Comment #2 from ro at techfak dot uni-bielefeld dot de  2006-07-11 
18:50 -------
Subject: Re:   New: boostrapping with gcc fails with unrecognized linker option

"multix at gmail dot com" <[EMAIL PROTECTED]> writes:

> I boostrapped using gcc 3.3 from sgi, usning as configure option
> ../gcc-4.1.1/configure --with-as=/usr/local/bin/as
> --enable-languages=c,c++,objc
> and as make command
> gmake CFLAGS='-O' LIBCFLAGS='-O2' LIBCXXFLAGS='-O2 -fno-implicit-templates'
> bootstrap
> 
> bootstrapping fails with:
[...]
> /usr/local/mips-sgi-irix6.5/bin/ld: unrecognized option '-_SYSTYPE_SVR4'
> /usr/local/mips-sgi-irix6.5/bin/ld: use the --help option for usage 
> information
> collect2: ld returned 1 exit status

The problem is that you are have GNU ld installed in a place gcc searches
by default, but didn't configure with --with-gnu-ld.

        Rainer


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28324

Reply via email to