[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

gcc (was: Beginner's Question)

> bash: stdio.h : not found  error message
> stdio.h file is in the /usr/include
> Do I have to setup something for gcc  compiler ?

You have to set an environment variable for the includes, which is called

For a quick shot, try

export INCLUDE=/usr/include

If that works, you can put the export in your profile (or append
/usr/include to the existing export).

BTW: This may be obvious, but you have to include stdio.h like this:

   #include <stdio.h>

NOT like this:

   #include "stdio.h"


Reply to: