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: newer version of libstdc++ on target system required


On Mon, Apr 18, 2011 at 1:08 AM, Matthias Hofmann
<matthias.hofmann@tu-dortmund.de> wrote:
> Hi,
>
> i built several crosscompilers using Ubuntu 10.10 and Cygwin. The
> compilation finishes without errors, but when i would like to run my program
> on the target system, i get the error message:
> /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.11' which - obviously
> indicates that a newer version of libstdc++ on the target system is
> required.

libstdc++ is attached to the version of gcc. Find out what version is
installed on
your target and then select that same version of gcc to cross compile
thats easiest
you can do mix and match but it can twist things up.

> Is there a chance to get the program run with an older version of glibcxx?
> Is it possible to build the crosscompiler in a way that this kind of problem
> can be avoided? If yes, how? :)
> Gcc: 4.4.5
> binutils: 2.20.1
> glibc: 2.9
> GMP: 4.3.2
> MPFR: 3.0.0
> PPL: 0.10.2
> CLooG/ppl_ 0.15.10
> libelf: 0.8.13
>
> Thank you,
>
> Matthias
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
>
>

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