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]

Re: c++ includes not getting searched for correctly?


Greetings --

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:

  TARGET/TARGET/sys-root/usr/include/c++/4.5.1/

It is the C++ compiler that is invoked, not the C compiler.

Any ideas would be very welcome.

Thanks!

Regards,
Tony

--
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]