ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] Re: programming tools for TS-Linux
From: Seano <>
Date: Wed, 16 May 2007 12:22:49 -0500
A bit of followup, not sure if it helps:

I have another hello world program that does run.

When I run 'file', I get the following:

'object.o: ELF 32-bit LSB relocatable, ARM, version 1, for GNU/Linux 2.4.3, dynamically linked (uses shared libs), not stripped'

So it looks like the differences are:
1. 'for GNU/Linux 2.4.3'
2. 'dynamically linked (uses shared libs)

I'm going to try and find out how to build the other file so it has the same 'file' output.

If I have an success (I haven't had much success at all getting this platform to do anything but 'hello world') I will post more.


On 5/16/07, Seano <> wrote:
I am having a similar problem. Well, the same problem. I was trying to use the gps_pps code from the files section of the site and get that error. However, I can see when I run 'make' that it is calling out to the proper cross compiler.

Further, I tried the 'file' command you just mentioned and I get the following output:

'object.o: ELF 32-bit LSB relocatable, ARM, version 1, not stripped'

So mine is for the ARM, but there must be something different about it.



On 5/16/07, Yan Seiner <> wrote:

--- In ts-7000%40yahoogroups.com, "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



__._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<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