This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: other/8920: Cannot compile libiberty on Solaris 2.6 insidegcc-3.2.1
- From: Martin MOKREJŠ <mmokrejs at natur dot cuni dot cz>
- To: Rainer Orth <ro at TechFak dot Uni-Bielefeld dot DE>
- Cc: gcc-gnats at gcc dot gnu dot org, <gcc-prs at gcc dot gnu dot org>, <gcc-bugs at gcc dot gnu dot org>, <nobody at gcc dot gnu dot org>
- Date: Fri, 13 Dec 2002 14:40:38 +0100 (CET)
- Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 insidegcc-3.2.1
On 13 Dec 2002, Rainer Orth wrote:
> Martin Mokrejs <mmokrejs@natur.cuni.cz> writes:
>
> > even when I remove libiberty from gcc-3.2.1 and soflink to libiberty
> > from binutils-2.11.2, I don't get much further:
> >
> > gcc -c -DIN_GCC -g -W -Wall -Wwrite-strings -Wstrict-prototypes
> > -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long
> > -DHAVE_CONFIG_H -DGENERATOR_FILE -I/software/@sys/usr/include
> > -I/software/@sys/usr/include/ncurses
> > -I/software/@sys/usr/openssl/include
> > -I/software/@sys/usr/include/freetype2 -I. -I. -I../../gcc
> > -I../../gcc/. -I../../gcc/config -I../../gcc/../include
>
> all those -I/software/@sys switches look completely unnecessary, and
No, that whole lots of files installed under prefix=/software/@sys/usr,
i.e. really header files, libs, binaries. It's located in AFS (@sys is a
speciable variable expanded by kernel, not by any shell!).
/usr/inlcude definitely doesn't contains my custom compiled/installed
stuff from /software/@sys/usr/include
Maybe only the freetype2 stuff could go away this time, I know.
> -I/software/@sys/usr/include may be an equivalent to -I/usr/include, which
> doesn't play nicely with gcc. Try removing all of them and start a fresh
> bootstrap (with libiberty included again).
What do you mean "doesn't play nicely with gcc"?
--
Martin Mokrejs <mmokrejs@natur.cuni.cz>, <m.mokrejs@gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585