This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

how gcc -I works?


Hi all,
  I want to include header files from /usr/src/linux/include because
I want to compile a module. I use the gcc -I option. It include header
files from the correct path but the header files alse include header
files , and those header files are included from /usr/include which is
my common include path.  I don't know how to fix it , can anyone help
me ?  Thank you.

 Best Wishes,
 zhouxu


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]