This is the mail archive of the gcc@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]

gcc-4.0.0 build problem on solaris


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


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