This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is another patch for installed-tree testing using v3_target_compile_as_c. The directories we're searching for C++ files (when using the C compiler) need to include $target/include/c++/$version, for a cross compiler.
As I've noted in the comment, this is all an ugly hack; the right answer is for the compiler to have a -print-include-dirs option that we could pass to g++, and then just include that list for the C compiler. But, we don't have that.
Tested with a cross to arm-eabi. OK to apply?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |