This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Bad ld option -M during build of gcc ?
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: michel <michel at arbornet dot org>
- Cc: bug-gcc at gnu dot org
- Date: Tue, 1 Apr 2003 14:04:50 +0200
- Subject: Re: Bad ld option -M during build of gcc ?
- References: <3E882056.1080006@arbornet.org> <200303311922.26819.ebotcazou@libertysurf.fr> <3E897990.4070603@arbornet.org>
> /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