Thomas Dineen wrote:
Gentle People:
I get the following error when building gcc-3.4.6 on my Solaris 8
Sparc System:
"/usr/local/sparc-sun-solaris2.8/bin/ld:libgcc/./libgcc.map: file
format not recognized; treating as linker script
/usr/local/sparc-sun-solaris2.8/bin/ld:libgcc/./libgcc.map:1: parse error
collect2: ld returned 1 exit status
I remember something like this appearing when making a crosscompiler for
Sparc/Solaris2.x and there forgetting
to use those '--with-gnu-as --with-gnu-ld', the default 'as' and 'ld'
being the proprietary native Sun ones (despite
of making a crosscompiler). So...
o If you want to use the Sun's own 'ld', DON'T use the '--with-gnu-ld'
in the GCC configure!
o If you want to use the GNU 'ld', then please use the '--with-gnu-ld'
in the GCC configure!