From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9335 invoked by alias); 7 Jun 2009 16:56:59 -0000 Received: (qmail 9327 invoked by uid 22791); 7 Jun 2009 16:56:58 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=AWL,BAYES_05 X-Spam-Check-By: sourceware.org Received: from smtp21.orange.fr (HELO smtp21.orange.fr) (80.12.242.46) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 07 Jun 2009 16:56:52 +0000 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2126.orange.fr (SMTP Server) with ESMTP id 151571C000A1; Sun, 7 Jun 2009 18:56:49 +0200 (CEST) Received: from r-lnx-leminkainen.bzh.lan (ARennes-252-1-16-151.w83-195.abo.wanadoo.fr [83.195.167.151]) by mwinf2126.orange.fr (SMTP Server) with ESMTP id E8D061C00099; Sun, 7 Jun 2009 18:56:48 +0200 (CEST) From: "Yann E. MORIN" To: crossgcc@sourceware.org Subject: Re: how to get target ldd ? Date: Sun, 07 Jun 2009 16:56:00 -0000 User-Agent: KMail/1.9.9 Cc: peter References: <4A2A160E.7090400@piments.com> In-Reply-To: <4A2A160E.7090400@piments.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200906071856.48287.yann.morin.1998@anciens.enib.fr> X-IsSubscribed: yes 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: 2009-06/txt/msg00012.txt.bz2 Peter, All, On Saturday 06 June 2009 09:09:02 peter wrote: > I am having problems with a busybox ARM target I have build using ct-ng. > None of the executables , including busybox, seem to work unless I > build them static. What's the symptom ? Do they segfault ? Can you run a statically linked hello world ? A dynamic one ? What does it say on the console? Using glibc or uClibc ? ... You did not give enough info to diagnose the problem... > Is there a way to get ldd for the target system out of ct-ng? Look in the archives, this has already been discussed... The /problem/ with ldd (the one in glibc, at least) is that it tries to _run_ the dynamic linker /lib/ld-xxx.so with some environment variables set, and this will print the libraries it finds _at_runtime_. Obviously, you don't want to run your ARM dynamic linker on your dev machine, as this most probably is some kind os x86. If using populate as per your previous posts, what does populate -v says? Regards, Yann E. MORIN. -- .-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +0/33 662376056 | Software Designer | \ / CAMPAIGN | ___ | | --==< ^_^ >==-- `------------.-------: 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