other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
Rainer Orth
ro@TechFak.Uni-Bielefeld.DE
Fri Dec 13 05:36:00 GMT 2002
The following reply was made to PR other/8920; it has been noted by GNATS.
From: Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
To: Martin Mokrejs <mmokrejs@natur.cuni.cz>
Cc: gcc-gnats@gcc.gnu.org, gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org,
nobody@gcc.gnu.org
Subject: Re: other/8920: Cannot compile libiberty on Solaris 2.6 inside gcc-3.2.1
Date: 13 Dec 2002 14:26:52 +0100
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
-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).
Rainer
More information about the Gcc-prs
mailing list