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