c++ header files

Ajaykumar A. Thadhlani ajayat@ee.tamu.edu
Tue Jun 26 00:50:00 GMT 2001


hi all!

I am little confused about the header files. I installed gcc 2.95.2 on my
solaris 5.6 system. The installation was succesful. Now I see there are
two directories which contain header files. One is
/usr/local/include/g++-3 and other directory is /usr/include. Some
specific c++ headers (like iostream.h ,etc) where copied to the first
/usr/local/include/g++-3 directory. Now when I am trying to compile one my
application, it needs some set.h, string.h c++ header files and these are
not present in the /usr/local/include+g++-3 directory. However these files
are present in /usr/include directory. Evenif I set my path environment
variable to include both these directories, the compilation doesn't go
thro and it gives an error saying --
Globals.h:22 set: No such file or directory. It couldn't find set.h header
file!!

So what the problem could be? I struggled with it for more than 1 day, but
couldn't make it run. Please please suggest me how should I handle this
problem.

Regards,
-- ajay



More information about the Gcc-help mailing list