Nope, it's being cross-compiled. Not much point in building on the board itself
given the speed of the CPU.
Your toolchain prefix is different from what I'm using. Here's another slice of
my Picocom Makefile:
CXX=arm-none-linux-gnueabi-g++
CC=arm-none-linux-gnueabi-gcc
Heres the info returned from 'file picocom'.
picocom: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux
2.4.17, statically linked, not stripped
--- In Simon Leung <> wrote:
>
> On 25/01/11 08:25, ksudeadeye81 wrote:
> > Hey All:
> >
> > I know this has come up here before, but I've tried everything I can think
> > of and still haven't had any luck.
> >
> > I'm trying to build Picocom for my TS-7260 with the EABI ARM toolchain and
> > Debian Sarge NFS filesystem available from "embeddedarm.com".
> >
> > The board is running the precompiled 2.6.21 kernel image.
> >
> > The program compiles and links fine but when I run it on the board I get an
> > "illegal instruction" error.
> >
> > I modded the Makefile to use the cross-compile toolchain along with the
> > following flags:
> > "-march=armv4t"
> > "-static"
> >
> > Static linking is required or else the shell returns a "file not found"
> > error when I try to run it.
> >
> > Should I try the "old-ABI" toolchain instead?
> >
> > Thanks in advance for the help.
> >
> >
> It doesn't sound like to me that you're doing cross compilation. You
> were doing native compilation on the target board. Cross compile means
> you compile from a x86 PC with the cross toolchain.
> Anyway, it's simple. Edit makefile and make sure you have
> CC=arm-linux-gcc and do make.
> Afterwards, transfer the binary on to target board somehow.
>
>
> > ------------------------------------
> >
> > Yahoo! Groups Links
> >
> >
> >
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|