Sorry for additional message. I forgot to say that I gave configure options: --enable-languages=c,pascal --disable-shared
I first tried without --disable-shared and the build failed when linking libgcc.a. The final message is: /usr/local/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map:1: parse error
I am using GNU binutils 2.13.1.
Waldek Hebisch wrote:
Sorry for additional message. I forgot to say that I gave configure options: --enable-languages=c,pascal --disable-shared
I first tried without --disable-shared and the build failed when linking libgcc.a. The final message is: /usr/local/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map:1: parse error
Does it happen also when building only C? Otherwise, what is the command executed before this message appears?
I am using GNU binutils 2.13.1.
Did you try `--with-gnu-ld'? According to gcc-3.3's doc, it's not necessary on Solaris/Sparc, but perhaps this has changed in 3.3.1.
Frank
Waldek Hebisch wrote:
Sorry for additional message. I forgot to say that I gave configure options: --enable-languages=c,pascal --disable-shared
I first tried without --disable-shared and the build failed when linking libgcc.a. The final message is: /usr/local/sparc-sun-solaris2.6/bin/ld:libgcc/./libgcc.map:1: parse error
Does it happen also when building only C? Otherwise, what is the command executed before this message appears?
I am using GNU binutils 2.13.1.
Did you try `--with-gnu-ld'? According to gcc-3.3's doc, it's not necessary on Solaris/Sparc, but perhaps this has changed in 3.3.1.
Appearently, my build was misconfigured -- it picked GNU tools in the first stage (they were eariler in the PATH), but hardcoded data about Sun tools.
By the way, the problem also showed if building only C.
I am re-trying using `--with-gnu-as --with-gnu-ld'.