This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Asking gcc for the include directory location?


On Thursday 07 December 2006 03:36, Toralf Lund wrote:
> Is there any way I can get gcc to tell me where the "normal" include
> directory is located? I mean, for my system's native compiler, this
> directory is "/usr/include", while on e.g. my arm-coff cross-gcc, it's
> "/usr/arm-coff/include". Is there any way to ask the compilers to print
> out these values? If not, how about the full "built-in" include path?

if you run `echo "" | cpp -v` it'll tell you the include search paths ... not 
sure how to get that in an easier format though
-mike

Attachment: pgp00000.pgp
Description: PGP signature


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