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]

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


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