This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: C++ include files ``gone''?
- To: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Subject: Re: C++ include files ``gone''?
- From: Gabriel Dos Reis <gdr at codesourcery dot com>
- Date: 13 Nov 2000 17:33:12 +0100
- Cc: <gcc at gcc dot gnu dot org>
- Organization: CodeSourcery, LLC
- References: <Pine.BSF.4.30.0011131625590.27728-100000@taygeta.dbai.tuwien.ac.at>
Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> writes:
| Trying to compile the following snippet on i386-unknown-freebsd4.1
|
| #include <iostream>
| #include <string>
| #include <set>
| #include <functional>
| int main() { }
|
| I get the following errors for current CVS sources:
|
| % g++ x.cc
| x.cc:1:20: iostream: No such file or directory
| x.cc:2:18: string: No such file or directory
| x.cc:3:15: set: No such file or directory
| x.cc:4:22: functional: No such file or directory
|
| And in fact the include directory is empty:
|
| % ls -la $prefix/include/
I suspect the headers are installed in $prefix/include/g++-v3.
| %
|
| Something seems badly broken here, but I wonder why I'm the only one
| seeing this.
I've been talking about this with Mark.
The compiler is used to search the standard headers in
1) $PREFIX/include/g++-3 when configured to use V2, but
2) $PREFIX/include/g++-v3 when configured to use V3.
After the switch (i.e. V3 on by default) the compiler is still
searching the headers in $PREFIX/include/g++-3 (which is wrong).
-- Gaby
CodeSourcery, LLC http://www.codesourcery.com