This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
howto remove /usr/include from standard include dir?
- From: f.l. <texlexsex at gmail dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Fri, 30 Jun 2006 16:53:46 +0800
- Subject: howto remove /usr/include from standard include dir?
hi,
i'm building linuxfromscratch,
then comes this question, what's the best way to remove /usr/include
from search path,
but still keep other system dirs as is,
for the target is to be run separately from the host,
headers in /usr/include is not wanted.
so i want to know, if it is good to change gcc/config/i386/linux.h,
add these two lines
#undef STANDARD_INCLUDE_DIR
#define STANDARD_INCLUDE_DIR 0
is that ok?
thanks very much.