gcc-4.0.0 build problem on solaris

Don Lindsay lindsayd@cisco.com
Sat Apr 23 07:07:00 GMT 2005


I built
	i686-pc-linux-gnu native
	i686-pc-linux-gnu X mips64-unknown-elf
	sparc-sun-solaris2.8 native

just fine, but have a problem with:

	sparc-sun-solaris2.8 X mips64-unknown-elf

Specifically the xgcc was linked, but won't run:

	<buildarea>/gcc/xgcc ....  -dumpspecs > tmp-specs

fails with

	fatal: libiconv.so.2: open failed: No such file

And indeed, I can't find any such file.

The gcc/FAQ says jc1 needs libiconv on Solaris, even if I specify
"--disable-nls" (which I did). But, the FAQ goes on to say that I just
have to suppress Java with --enable-languages (which I also did, I
specified "--enable-languages=c++").

So I'm puzzled as to why libiconv was needed. And I'm also puzzled as to
how come the sparc-sun-solaris2.8 native didn't encounter the same
problem, whatever it is.

???

---
Don



More information about the Gcc mailing list