Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to find Unix standard include directory for C include files

Status
Not open for further replies.

weckenmc

Programmer
May 16, 2002
1
US
Unable to get a clean compile on a C++ file using the g++ compiler. The error is in finding the system include file:limits.h. The directory /usr/include has the correct limits.h file, but the compiler doesn't seem to reference the standard include dir: /usr/include.
We are using the command:
g++ -c -g -Wall -I localIncludeDirs filename

This is a newly setup Sun and environment.
What initially setup the default system include directory or do I need to set it myself?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top