This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: relocating gcc 3.2.1: inconsistent search path for header files?
- From: Harald Dunkel <Harri dot Dunkel at synopsys dot com>
- To: gcc at gnu dot org
- Date: Mon, 30 Dec 2002 17:25:15 +0100
- Subject: Re: relocating gcc 3.2.1: inconsistent search path for header files?
- References: <3E100CF6.80207@Synopsys.COM>
Harald Dunkel wrote:
As you can see, the directory /somepath/gcc-3.2.1/lib/gcc-lib/\
i686-pc-linux-gnu/3.2.1/include has got a higher priority than
/usr/local/include now. This is surely inconsistent. But shouldn't
/usr/local/include get a much lower priority in the first case?
Better: Gcc should ignore /usr/local/include completely, if
the prefix was not set to /usr/local at configuration time.
My gcc (configured using --prefix=/u/ccmaster/Linux/stow/gcc-3.2.1)
seems to ignore the libs in /usr/local/lib without explicit
-L flag, so why should it search in /usr/local/include by default?
Regards
Harri