This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug preprocessor/37778] New: wrong construction of search path for include files
- From: "agri at akamo dot info" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Oct 2008 06:36:31 -0000
- Subject: [Bug preprocessor/37778] New: wrong construction of search path for include files
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Configuring with: ../gcc-4.3.2/configure --prefix=/usr --bindir=/bin
--sbindir=/sbin --sysconfdir=/etc --libdir=/lib --localstatedir=/var
--enable-languages=c,c++ --enable-threads --enable-tls --with-system-zlib
results in wrong search path for c++ include files.
I can see in gcc-build-dir/gcc/Makefile that
gcc_gxx_include_dir = $(libsubdir)/$(libsubdir_to_prefix)include/c++/$(version)
and $(libsubdir)/$(libsubdir_to_prefix) erroneously points to root directory.
One assume that libdir is ($PREFIX)/lib, but libdir is set to /lib during
configuration.
--
Summary: wrong construction of search path for include files
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: trivial
Priority: P3
Component: preprocessor
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: agri at akamo dot info
GCC build triplet: i686-pc-linux
GCC host triplet: i686-pc-linux
GCC target triplet: i686-pc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37778