public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* howto remove /usr/include from standard include dir?
@ 2006-06-30  8:53 f.l.
  0 siblings, 0 replies; only message in thread
From: f.l. @ 2006-06-30  8:53 UTC (permalink / raw)
  To: gcc-help

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-30  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-06-30  8:53 howto remove /usr/include from standard include dir? f.l.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).