Asking gcc for the include directory location?
Thu Dec 7 13:10:00 GMT 2006
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 827 bytes
Desc: not available
More information about the crossgcc