This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
minor problems building gcc-3.3 on Solaris 9
- From: Chuck Cox <Chuck dot Cox at Sun dot COM>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 20 Jun 2003 10:39:45 -0600
- Subject: minor problems building gcc-3.3 on Solaris 9
- Organization: Sun Microsystems
I have successfully compiled gcc-3.3 on Solaris 9 (sparcv9-sun-solaris2.9), but
I wanted to report a couple of minor problems that I ran into:
- 'make bootstrap' built the compiler just fine but was failing in libstdc++-v3.
I had to add an '#include <unistd.h>' in basic_file.cc to get the prototype
for ioctl(). After that, the boot strap finished up just fine.
- 'make bootstrap' did not build libintl for some reason. 'make check' fails in
libstdc++-v3, g++, and objc because gcc can't find libintl.so.2. I tried to
force it to find a pre-existing copy, but couldn't get it to work.
- 'make install' breaks for libobjc and sparcv7/libobjc. The libtool in that
directory seems to be confused by having /bin/ksh in front of the install-sh
command. I think the /bin/ksh is there due to setting CONFIG_SHELL to /bin/ksh
as recommended in the Solaris hints file. I replaced $(INSTALL) in the
Makefiles with '<path>/install-sh -c' and then it worked.
Other than that, things went pretty well. Even the multilib stuff worked, which
I was never able to get working with 3.2.1...
Thanks,
Chuck Cox