c++ includes not getting searched for correctly?

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Fri Oct 8 16:55:00 GMT 2010


Bryan, All,

On Friday 08 October 2010 01:15:07 Bryan Hundven wrote:
> After making the following symlink:
> ln -s ${CT_SYSROOT_DIR_PREFIX}/sys-root/usr/include
> ${CT_SYSROOT_DIR_PREFIX}/include
> Everything works fine.

Good to know we have a workaround.

But I'm not happy with it, though. An absolute path makes the toolchain
non-relocatable, and this is a Bad Thing (TM). At least, make it a relative
symlink.

Also, I believe that gcc should be somehow taught where to look fot the
headers. It is already properly looking at sysroot/usr/include for C headers
and looking there for C++ should be the default as well.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list