How do I get clang++ to search for header files WITHOUT hacking?

It’s having a hard time finding c++ headers, the guild at the website is unhelpful, since it doesn’t give out hacking examples (and it assumes to much). I really don’t want to edit the files just to do a header search path.

Please reply

Pass "-nostdinc -I/path/to/my/headers" on the command-line.

-Eli

Hi
read these files. You will see it.
./include/clang/Driver/OptParser.td
./include/clang/Driver/CC1AsOptions.td
./include/clang/Driver/CC1Options.td
./include/clang/Driver/Options.td

2010/8/5 <crazygamealexs@hotmail.com>

Pass "-nostdinc -I/path/to/my/headers" on the command-line.

Or use the configure options

--with-c-include-dirs Colon separated list of directories clang will
                          search for headers
  --with-cxx-include-root Directory with the libstdc++ headers.
  --with-cxx-include-arch Architecture of the libstdc++ headers.
  --with-cxx-include-32bit-dir
                          32 bit multilib dir.
  --with-cxx-include-64bit-dir
                          64 bit multilib directory

-Eli

Cheers,