This is the mail archive of the 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: Fwd: Using crosstool-ng 1.7.0, unable to find -lstdc++when compiling c++

Chris, All,

On Tuesday 08 June 2010 21:41:54 Chris Morgan wrote:
> but when attempting to compile c++ applications I'm seeing:
> ~/test$ ~/x-tools/arm-unknown-eabi/bin/arm-unknown-eabi-g++ simple.cpp
> /home/cmorgan/x-tools/arm-unknown-eabi/lib/gcc/arm-unknown-eabi/4.4.3/../../../../arm-unknown-eabi/bin/ld:
> cannot find -lstdc++
> collect2: ld returned 1 exit status
> I went looking for libstdc++ thinking maybe I needed to build and
> install libstdc++ against the generated toolchain but the gnu page I
> found says its part of gcc now.
> What am I missing here?

This is a bare-metal toolchain. Is that really what you want?

Do you want to run your generated binaries using a Linux kernel, or do
you really want to run them on bare-metal?

If you don't see what bare-metal is, then you most probably don't want
that, and then you are missing the "Operating System" sub-menu, where
I'd suggest you select "linux" in the "Target OS" choice.

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  |
| | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

For unsubscribe information see

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