Include directory for gcc

Arthur Niswar niswar@int.uni-karlsruhe.de
Thu Mar 10 16:13:00 GMT 2005


It doesn't work.

# gcc -isystem /usr/include hello.c -o hello
hello.c:0: /usr/local/include/.: Permission denied

Thanks anyway!

Arthur


On Thu, 10 Mar 2005, Eljay Love-Jensen wrote:

> Hi Arthur,
> 
> gcc -isystem /usr/include hello.c -o hello
> 
> Note:  I don't recommend doing this, since there are caveats about where 
> the include files are pulled from, and in which order, for the system 
> include path.  What I do recommend is for you to talk with one of the 
> system administrators and have them fix the environment so the compiler you 
> are using is working properly without this kind of kluge.
> 
> HTH,
> --Eljay



More information about the Gcc-help mailing list