15 May
2008
15 May
'08
10:50 a.m.
Hi,
On Thu, May 15, 2008 at 2:29 PM, Nair, Vipin
Now I found that compiler is not using /usr/include in the include path. How to set it??
I tried to set C_INCLUDE_PATH and CPLUS_INCLUDE_PATH to point to /usr/include , but still it is not taking the files from /usr/include.
1. Set the environmental variable INCLUDE=/usr/include:$INCLUDE. GCC picks it from there by default. 2. Or, use "gcc -I/usr/include". If you are using a makefile and it has CC=gcc, replace it with CC="gcc -I/usr/include". -dhruva -- Contents reflect my personal views only!