c++ includes not getting searched for correctly?
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Fri Oct 8 23:08:00 GMT 2010
Bryan, All,
On Friday 08 October 2010 01:35:19 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.
> Curious if setting:
> CT_CC_CORE_EXTRA_CONFIG="--with-gxx-include-dir=${CT_SYSROOT_DIR}/usr/include"
> would help?
You'd have to set it in CT_CC_EXTRA_CONFIG, for the final compiler to find
the headers. We do not need the core compiler to find C++ headers, as C++
is not even built in core.
I'll be testing a similar fix tonight, and see if gcc correctly handles this
when the toolchain is relocated (I'm afraid giving an absolute path will
break relocation...).
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