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,

[Chris, please keep the list CCed next time]

On Tuesday 08 June 2010 22:18:12 Chris Morgan wrote:
> I picked bare metal because I'm trying to build a gnu toolchain to
> replace IARs arm toolchain.

IARs == ?

> We are using Seggers embOS on the board right now so
> picking a linux target didn't seem to make sense.

OK, so you do have a reason for bare-metal, then. Better check the obvious
first... :-)

> Does picking bare mean that c++ isn't possible using the gcc included
> stdc++?

Looks like it, indeed. As a wild guess, I'd say that libstd++ has a
'dependency' upon the hosting system, and when you do target bare-metal,
you have to provide low-level functions that are required by libstdc++.

Apart that, I don't know. I don't use bare-metal much these days, and
I never ever used C++ on bare-metal...

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]