This is the mail archive of the gcc@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] |
|
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
|
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |