From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4454 invoked by alias); 31 Mar 2012 20:29:21 -0000 Received: (qmail 4444 invoked by uid 22791); 31 Mar 2012 20:29:20 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from smtp04.smtpout.orange.fr (HELO smtp.smtpout.orange.fr) (80.12.242.126) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 31 Mar 2012 20:29:05 +0000 Received: from treguer.localnet ([90.32.244.234]) by mwinf5d08 with ME id sLUz1i00G549PDW03LV0lh; Sat, 31 Mar 2012 22:29:01 +0200 From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: Problems running CT-NG Date: Sat, 31 Mar 2012 20:29:00 -0000 User-Agent: KMail/1.13.5 (Linux/3.3.0-treguer; KDE/4.4.5; x86_64; ; ) Cc: Michael Eager References: <4F77526B.1080908@eagercon.com> In-Reply-To: <4F77526B.1080908@eagercon.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201203312228.55922.yann.morin.1998@free.fr> Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2012-03/txt/msg00065.txt.bz2 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