Two ways:
gcc -nostdinc -isystem `gcc -print-file-name=include`
gcc -nostdinc -iwithprefix include
They're slightly different, but both will search gcc's includes and
nothing else.
-- Jamie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/