The following reply was made to PR other/8920; it has been noted by GNATS. From: =?iso-8859-2?Q?Martin_MOKREJ=A9?= To: Rainer Orth Cc: gcc-gnats@gcc.gnu.org, , , Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1 Date: Fri, 13 Dec 2002 14:40:38 +0100 (CET) On 13 Dec 2002, Rainer Orth wrote: > Martin Mokrejs 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 , PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs MIPS / Institute for Bioinformatics 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