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]
Other format: [Raw text]

Re: Bad ld option -M during build of gcc ?


> /gnu/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map: file format not
> recognized; treating as linker script
> /gnu/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map:1: parse error
> collect2: ld returned 1 exit status
> make[3]: *** [libgcc_s.so] Error 1
> make[3]: Leaving directory `/gnu/src/gcc-3.2.2/gcc'
> make[2]: *** [libgcc.a] Error 2
> make[2]: Leaving directory `/gnu/src/gcc-3.2.2/gcc'
> make[1]: *** [stage1_build] Error 2
> make[1]: Leaving directory `/gnu/src/gcc-3.2.2/gcc'
> make: *** [bootstrap] Error 2
>
> clio{285} /gnu/sparc-sun-solaris2.6/bin/ld --version
> GNU ld version 2.13.2.1
> 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.

Try to specify --with-gnu-as and --with-gnu-ld at configure time, see
http://gcc.gnu.org/install/configure.html

-- 
Eric Botcazou


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