This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/8920] [sparc-solaris2.6] Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
- From: "mmokrejs at natur dot cuni dot cz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jun 2003 18:10:25 -0000
- Subject: [Bug bootstrap/8920] [sparc-solaris2.6] Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
- References: <20021212201601.8920.mmokrejs@natur.cuni.cz>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8920
------- Additional Comments From mmokrejs at natur dot cuni dot cz 2003-06-23 18:10 -------
Yes, I've managed to compile and install gcc-3.3. The trick to compile was to
minimize CFLAGS/CPPFLAGS so that headers from binutils and some other? tools
don't fool the bootstrap procedure, set the shell to ksh otherwise it dies
somewhere while checking "if make sets ${MAKE}". Also link to GNU ld/as was
necessary.
CPPFLAGS="" CC="gcc" CFLAGS="" CXXFLAGS=""
CONFIG_SHELL=/bin/ksh
export CPPFLAGS CC CFLAGS CXXFLAGS CONFIG_SHELL
../configure --prefix=/software/@sys/usr\
--with-gnu-ld=/softwa/software/@sys/usr/bin/ld \
--with-gnu-as=/software/@sys/usr/bin/as
make bootstrap-lean
Some of this is documented in the readme in section related to solaris.