cross-compiling & debugging embedded-linux apps

Brendan J Simon Brendan.Simon at ctam.com.au
Tue Jan 4 11:30:49 EST 2000


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