not finding header files...
Rupert Wood
me@rupey.net
Wed Aug 7 09:54:00 GMT 2002
Jun Goo wrote:
> i've just finished installing a copy of gcc 3.1.1 onto my computer
> and instead of replacing 2.96 (the previously installed version of
> gcc), i installed 3.1.1 under /usr/local (actual g++, gcj, g77, etc
> files under /usr/local/bin)
:
> i believe the header files for 3.1.1 are under
> /usr/include/g++-3
They're probably under /usr/local/include/g++-3.
The best way to debug this sort of thing is to compile something simple,
e.g. your hello.cc, with the -v switch:
g++ -v hello.cc
GCC will, amongst other things, dump its search directory path to the
console so you can see where it's looking.
Good luck,
Rup.
More information about the Gcc-help
mailing list