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

[Bug bootstrap/8920] [sparc-solaris2.6] Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1


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.


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