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?


On Mon, Oct 11, 2010 at 12:28 PM, Bryan Hundven <bryanhundven@gmail.com> wrote:
> On Mon, Oct 11, 2010 at 12:27 PM, Yann E. MORIN
> <yann.morin.1998@anciens.enib.fr> wrote:
>> Bryan, All,
>>
>> On Monday 11 October 2010 21:17:30 Bryan Hundven wrote:
>>> With a fresh checkout of crosstool-ng (as of an hour or so ago), I
>>> built the attached x86.config and got an install issue while the final
>>> cc was installing the c++ headers:
>> [--SNIP--]
>>
>> CT_CC_EXTRA_CONFIG="--with-gxx-include-dir=${CT_SYSROOT_DIR}/usr/include"
>>
>> You do not need to set it, it is added by the gcc build script when C++
>> is enabled. At the time the .config file is parsed, CT_SYSROOT_DIR is
>> not yet known, so using ${CT_SYSROOT_DIR} will yield the empty string,
>> hence the error message you are seeing.
>>
>> 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. Â|
>> '------------------------------^-------^------------------^--------------------'
>
> Ouch. Thanks yann!

Arnaud,

I am trying some ideas wrt header paths, but it is ~2am (-0800) where
I am at. I will have some results for you later after I get some rest
and my build completes.

-Bryan

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