This is the mail archive of the
mailing list for the GCC project.
RE: Small feature for gcc
> From: "Rupert Wood" <email@example.com>
> To: "'mike stump'" <firstname.lastname@example.org>
> Cc: <email@example.com>, <firstname.lastname@example.org>
> Date: Tue, 7 May 2002 18:57:08 +0100
> He might have meant without all the cruft so he could backtick it, e.g.:
> for _d in `gcc -print-include-search`; do
> if [ -f $_d/stdio.h ]; then
> I can't think of a good reason why you'd want to do that, though.
$ echo "#include <stdio.h>" | gcc -E - | sed -n 2p | cut -d\ -f3