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 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.  |
'------------------------------^-------^------------------^--------------------'

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