This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
how gcc -I works?
- From: "xu zhou" <zhouxuzhu1985 at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 28 Dec 2006 18:16:29 +0800
- Subject: how gcc -I works?
- References: <4b53d62c0612272017j4835cb43u2a14af32fb187162@mail.gmail.com>
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