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?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]