Problems running CT-NG
Yann E. MORIN
yann.morin.1998@free.fr
Sat Mar 31 20:29:00 GMT 2012
Michael,
On Saturday 31 March 2012 20:52:27 Michael Eager wrote:
> I've been having problems using the repository version
> of crosstools-ng,
What kind of problems?
> so I downloaded the latest release,
> crosstools-ng-1.14.1. I'm having similar problems.
>
> I've tried to build the samples armeb-unknown-linux-uclibcgnueabi
> and armeb-unknown-linux-gnueabi. I made two small changes to the
> config: point to a tarball directory and eliminate building debugging
> tools.
>
> I get the same build failure that I'm seeing with the repo version.
> [ALL ] /usr/bin/ld: cannot find -lstdc++
> ...
> [ERROR] >> Build failed in step 'Installing static core C compiler'
>
> This is clearly the result of the link being done with this option:
> -Wl,-Bstatic,-lstdc++,-Bdynamic
>
> Can someone tell me what, if anything, I'm doing incorrectly?
> I expected that the samples would build, but that does not seem
> to be the case.
You need to install the 'development' package that contains the static
version of libstdc++. On debian, this is 'libstdc++6.4.4-dev' (or another
version string, depending on your debian version, of course). For other
distros, probably a package ending in -devel, or the likes.
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
More information about the crossgcc
mailing list