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: Using crosstool-ng 1.7.0, unable to find -lstdc++when compiling c++


Chris, All,

On Friday 11 June 2010 20:36:42 Chris Morgan wrote:
> So I see that this pass 2 is something in the gcc.sh script.

Yes. Look at the output of:
 $ ct-ng list-steps

> I presume there is a reason why a straight make, without command line
> arguments, is not acceptible in do_cc_core()?

Long story put short: that does not work. Besides, building libstdc++
requires the complete C library (newlib in our case), and that is
only built later.

> I'd like the toolchain to be built correctly. How can I help?

Not much. But I'd appreciate if you could confirm:
- start from crosstool-NG 1.7.0
- build your toolchain, enable C++ support
- when it is installed:
    cd targets/arm-unknown-eabi/build/build-cc-core-baremetal
    make all-target-libstdc++
    make install-target-libstdc++

With that, can you check that the toolchain is now capable of C++?

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]