ts-7000
[Top] [All Lists]

[ts-7000] Re: Unable to get hello world file to work on TS-7800

To:
Subject: [ts-7000] Re: Unable to get hello world file to work on TS-7800
From: "yanniepa" <>
Date: Mon, 04 Aug 2008 22:27:26 -0000
--- In  "lee.weihong" <> wrote:
>
> Hi,
> I am new to Linux and have just gotten a ts-7800 recently. So today I
> set up the CodeSourcery g++ compiler and eclipse on my windows
> computer, and tried to compile a hello world project. Everything went
> smoothly until i tried running the file on the ts. I got this message: 
> -bash: ./hello: No such file or directory
> 
> I did a quick search on this group and found that some people had
> similar problems before. What I did was to use a SD card to transfer
> the file from my pc to the ts board, and i appended the flags -static
> to my gcc.
> 
> This is the output from the console in eclipse:
> **** Build of configuration Default for project hello ****
> 
> cs-make all 
> arm-none-linux-gnueabi-gcc -O2 -g -Wall -fmessage-length=0 -static  
> -c -o hello.o hello.cpp
> arm-none-linux-gnueabi-gcc -o hello hello.o 
> 
> And this is what i got when i run "file ./hello" on my ts:
> ./hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for
> GNU/Linux 2.6.14, dynamically linked (uses shared libs), not stripped
>  
> I am sure I did something wrong, and any hints for a linux newbie will
> be appreciated
>

Hi,
I am a newbie and maybe even more new to Linux than you're. I have
eclipse setup on my SD card and I don't know how to run it from a
Windows or Linux machine. It looks like you already past this step.
Would you please describe the steps you went through to get to run
eclipse from your SD card?

Thanks!
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