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

steve jenkin sjenkin at canb.auug.org.au
Thu Nov 22 22:10:30 MST 2012

I've been using a Macports gcc for i386-elf to cross-compile Linux kernel.
Note: this is a non-standard gcc with very non-standard paths (in
/opt/local) compiled in. [and incorrectly]

I'm at a loss as to how to find what include directories are compiled
into a version of 'gcc'.

I've used Makefile settings to over-ride whatever defaults it uses, but
I'm left underwhelmed...

Anyone fought this dragon and know how to discover the magic?

Steve Jenkin, Info Tech, Systems and Design Specialist.
0412 786 915 (+61 412 786 915)
PO Box 48, Kippax ACT 2615, AUSTRALIA

sjenkin at canb.auug.org.au http://members.tip.net.au/~sjenkin

More information about the linux mailing list