This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Greetings --These are the correct locations.
Apologies if any of you see this twice; the original version got rejected from the maling list because it looked too much like spam. I've place my original mail at:
http://scrye.com/~tkil/ctng/cpp-include-mail.txt
The upshot is that the final cross-compiler looks in the wrong place for c++ headers; it ends up looking in
TARGET/lib/gcc/TARGET/4.5.1/include/ TARGET/lib/gcc/TARGET/4.5.1/include-fixed/ TARGET/TARGET/sys-root/usr/include/
When it should be looking in:And this would be wrong.
TARGET/TARGET/sys-root/usr/include/c++/4.5.1/
It is the C++ compiler that is invoked, not the C compiler.libstdc++ and its headers are GCC/g++ internal libraries (comparable to libgcc) and are part of a cross-gcc. I.e. cross-g++ needs to use its its libraries/headers and not those inside of a sysroot.
Any ideas would be very welcome.
-- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |