--- In .com,
"friderman" <..> wrote:
>
> I've recently received a ts7800 board and I'm having some problems
> with the cross compilations tools.
> I downloaded the cross-tool from
>
ftp://ftp.embeddedarm.com/ts-7800-linux-sd/cross-toolchains/ts7800-crosstool-3.4.4-2005q3-2-linux.tar.gz
> but it seems like the libraries on the tool and the libraries on
the
> board don't match. For example, when I compile a simple hello world
> app, the tool correctly generates an ARM ELF but once on the board
it
> doesn't work. It complains it cannot find ld-linux.so.3, and
that's
> true, because only ld-linux.so.2 exists. If I try to simlink
> ld-linux.so.3, the next error becomes /lib/libc.so.6:
version
> `GLIBC_2.4' not found (required by ./hello). So I guess there is
some
> compatibility problem between the toolchain and the board's os.
> Maybe I'm using and old toolchain? Can you point me to the right
> toolchain?
>
I had the same issue as what you have now, and found out the
debian built on the ts7800 actually is not generated from the
cross-tool from the ts. For example, gcc-3.3.5 on the ts7800, which
may be from Marvell, only supports the legacy ABI, while the 2005q3
from the CodeSourcery provides the gcc-3.4.4 with the ARM EABI for
ARMv5t, and the 2007q1 has gcc-4.2.0 for ARMv4 EABI. This is reason
why a shared library (see fulatoro's dynamically linked helloworld's
case) failed. Moreover, the cross-compiling environment provided from
the TS actually won't work with the current setup on the ts7800.
To fix this problem, you have to either directly built your
application on the ts7800, or set up a NSF with your desktop
development environment. But the best way is to rebuilt whole system
on the ts7800 with new cross-tool. I downloaded the 2007q3 already,
and will do it when having a free time.
Good luck!
zheng
> BTW, ts7800 rocks! ;)
>
> Best regards
>