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]

Re: how to change the default path from /usr/include for gcc using CFLAGS


"Koyel Mukherjee" <koyelmjee@gmail.com> writes:

> I need to change the default path for gcc from /usr/include to a path
> of my choice. What option should I set in CFLAGS of my makeconf file
> to make this happen? Specifically is there any option in CFLAGS to
> force the compiler to look into a specific path for the includes?

Read the friendly manual.  Look for -I and -nostdinc.

Ian


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