This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG 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: Problems running CT-NG


On 03/31/2012 01:28 PM, Yann E. MORIN wrote:
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


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.

Thanks. On Fedora, the package is libstdc++-static. Perhaps this should be either in the sanity checks at the start or in the Known Issues file.

--
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

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