cross-compiling & debugging embedded-linux apps
Alan Mimms
alanm at unforgettable.com
Tue Jan 4 14:16:51 EST 2000
You might want to use objdump -p on the file as suggested in an
earlier post here today. I think that's effectively like ldd's output
only more so.
a
>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
On 1/3/00, 4:30:49 PM, Brendan J Simon <Brendan.Simon at ctam.com.au> wrote
regarding Re: cross-compiling & debugging embedded-linux apps:
> Jim Lewis wrote:
> > Alan Mimms wrote:
> >
> > > You know about the ldd command? Do 'ldd bjs1-shared' to see what
> > > libraries you need for your shared executable and make sure they're
> > > there and built with no floating point. When you compile and link,
> Yep, but ldd doesn't seem to exist in my cross-tools. Is it part of
gcc,
> binutils or some other package ?
> > > you're using '-mcpu=860' or '-msoft-float', right? That also could be
> > > a problem for you.
> I'm using -mcpu=860 but I am not specifying -msoft-float. This
shouldn't be a
> problem for a simple program that continuously prints out a string
using puts().
> The static version runs so it is some kind of dynamic library loader
problem I
> suspect.
> I've had some replies from the cross-gcc mailing list with some
suggestions.
> I'll post any results worth mentioning.
> Thanks,
> Brendan Simon.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded
mailing list