public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
To: crossgcc@sourceware.org
Cc: peter <peter@piments.com>
Subject: Re: how to get target ldd ?
Date: Sun, 07 Jun 2009 16:56:00 -0000	[thread overview]
Message-ID: <200906071856.48287.yann.morin.1998@anciens.enib.fr> (raw)
In-Reply-To: <4A2A160E.7090400@piments.com>

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

  parent reply	other threads:[~2009-06-07 16:56 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-06  7:09 peter
2009-06-06 17:09 ` Dan Wilder
2009-06-07 16:56 ` Yann E. MORIN [this message]
2009-06-09 22:17   ` ng
2009-06-10  6:01     ` Yann E. MORIN
2009-06-10  7:08       ` ng
2009-06-10 21:29         ` ng
2009-06-11 20:39           ` Yann E. MORIN
2009-06-12  8:03             ` ng
2009-06-10  8:34 Nebojša Ćosić
2009-06-10 14:48 ` Dan Wilder

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200906071856.48287.yann.morin.1998@anciens.enib.fr \
    --to=yann.morin.1998@anciens.enib.fr \
    --cc=crossgcc@sourceware.org \
    --cc=peter@piments.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).