String.h

Alex Arulanthu alex@cs.wustl.edu
Wed May 16 20:14:00 GMT 2001


Hi Gcc Gurus,
Sorry for bothering with simple question.
 
My program is not able to include String.h.. Any ideas why 
this is happening?
 
Here is the scenario:
 
Simple test program:
unix:/home/alex/ % cat test.cpp #include 
<String.h>
 
int main () { return 0; }
 
Compilation: unix:/home/alex/ % g++ 
test.cpp test.cpp:1: String.h: No such file or directory
 
But the file is actually 
there: unix:/home/alex% ls -l /usr/local/lib/g++-include/String.h 
-rw-r--r--   1 root     
other      34423 Feb  3  1999 
/usr/local/lib/g++-include/String.h
It is a solaris 8, running g++ 
2.95.3
dhania:/home/alex/ % uname -a SunOS dhania 5.8 
Generic_108528-01 sun4u sparc SUNW,Ultra-60
dhania:/home/alex/ % which 
g++ /usr/local/bin//g++
dhania:/home/alex/ % g++ -v Reading specs from 
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/specs gcc version 2.95.3 
20010315 (release)
 
Another important info, I installed the binary that I 
got from sunfreeware.com!
 
Thanks in advance for help!
Alex
 



More information about the Gcc-bugs mailing list