This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: g++'s include path not including the g++ includes


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]