ts-7000
[Top] [All Lists]

[ts-7000] Re: programming tools for TS-Linux

To:
Subject: [ts-7000] Re: programming tools for TS-Linux
From: "Yan Seiner" <>
Date: Wed, 16 May 2007 17:13:03 -0000
--- In  "hein_piet" <> wrote:
>
> I've troubles running applications on my TS-7400 board*. When I
> compile example code (hello world) on my Debian etch machine (gcc -o
> hello hello.c) I can run it with no troubles. Then I transfer the file
> via ftp to the TS board and change the permissions (chmod +x ./hello).
> But when I try to execute it, the TS board returns an error:
> 
> ./hello: 1: Syntax error: "(" unexpected
> 
> What can I do to solve this problem?
> Is it possible to install gcc under TS-Linux? (if so, how? apt-get is
> not part of the busybox..)
> 
> *BTW: My board has no problem running the pre-compiled applications
> available on the embeddedarm server.
>

Your desktop is an x86 machine - basically an Intel Pentium compatible.

The TS7xx0 boards are ARM machines - completely different from an
Intel Pentium.

You need to get and install a cross-compiler.  Google for crosscompile
and read up on it.

Then download the toolchain from the TS website.

The command 'file' will tell you which architecture a particular
program is built for; 'man file' for more info.

HTH,

--Yan




 
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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU