Teja
Teja

Reputation: 13544

Where can I find header files in C on unix

Where can I find my C header files on unixOS.Please kindly give me your inputs.

Upvotes: 1

Views: 2504

Answers (1)

sr01853
sr01853

Reputation: 6121

GCC looks in several different places for headers. On a normal Unix system, if you do not instruct it otherwise, it will look for headers requested with #include in:

 /usr/local/include
 libdir/gcc/target/version/include
 /usr/target/include
 /usr/include

Upvotes: 3

Related Questions