This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: g++'s include path not including the g++ includes
- To: help-gcc at gnu dot org
- Subject: Re: g++'s include path not including the g++ includes
- From: brian_murrell at my-deja dot com
- Date: Tue, 16 Nov 1999 07:49:17 GMT
- Newsgroups: gnu.gcc.help
- Organization: Deja.com - Before you buy.
- References: <38303063.4536FAAB@interlinx.bc.ca>
- Xref: wodc7nx0 gnu.gcc.help:1846
In article <38303063.4536FAAB@interlinx.bc.ca>,
Aaron <aaaron@interlinx.bc.ca> wrote:
> Hello all.
>
> I have compiled gcc 2.95.2 on my Solaris 2.6 box and it would seem
that
> g++ no longer looks in /usr/local/include/g++ for C++ header files. I
> had this problem prior to 2.95.1 and then it went away when I compiled
> 2.95.1 but now it's back.
>
> Any ideas why this would be?
>
> For the record, it does not seem to be looking in any path ending with
> "/g++" as it searches.
OK, now that I have wasted all your time and proved sufficiently that I
am a moron, I will share with you my mistake. It was assuming that the
directory that would be searched for was .../g++, when indeed the
include directory for the stdc++ library with 2.95.2 is .../g++-3. The
three at the end is the libstdc++ interface version number. Anyway,
because my gcc was built with RPM and in packages, I forgot to install
the libstdc++-devel-2.95.2 package which puts down the g++-3 directory.
Now back to your regularly sheduled program.
Thanx,
b.
Sent via Deja.com http://www.deja.com/
Before you buy.