[clug] discovering gcc "<xxx.h>" (system) include directories

Carlo Hamalainen carlo.hamalainen at gmail.com
Thu Nov 22 22:32:36 MST 2012

On Fri, Nov 23, 2012 at 3:23 PM, steve jenkin <sjenkin at canb.auug.org.au>wrote:

> ==> --with-gxx-include-dir is defined.
> Which, by my reading, is for C++ (g++).

Ah, yes.

I suppose as a hack you could make a hello_world C file that just includes
stdio.h, and then grep for stdio.h on "gcc -v -H helloworld.c", which will
show you were that particular gcc binary is looking for files. But I may be
barking up the wrong tree...

Carlo Hamalainen

More information about the linux mailing list