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: "" <>
Date: Tue, 20 Apr 2010 15:30:42 -0000
Rob -- This worked fantasitc!  THanks so much for you expertise/help! Pat

--- In  "Eric Robishaw" <> wrote:
>
> *you should be able to simply run the bat file "runEclipse_win.bat"*
> 
> I had some issues, so I copied the entire contaiing directory to my Hard
> Drive and then ran it.
> 
> *If you copy to your drive, edit the bat file:*
> Change the line "SET PREFIX=" to the directory you copied it to.
> i.e.,: SET PREFIX=D:\DEV\Tools\Linux
> 
> *In Eclipse:
> *right-click on "helloworld" and "Build project".
> 
> Then, at the bottom pane, click the "remote Systems" then for each of the
> top tree nodes (i.e., TS-7800 FTP Server), right-click, Properites. Adjust
> the IP address of your TS-7800.
> (I could not get serial port to work from Eclipse, so I use only FTP / SSH,
> etc... via a network cable connected to the 7800).
> 
> You should be able to expand out the TS-7800 ARM LInux /Sftp FilesRoot/
> 
> *Create a directory somewhere, maybe "/usr/local/bin/helloworld"*
> Drag the "Project Explorer / HellowWOrld/Debug/Helloworld -[arm/le]" to this
> new folder.
> 
> Now, in your terminal window (I prefer to use ttermpro to connect to the
> device, via Telnet), change to the directory you just created:
> *cd /usr/local/bin/helloworld*
> 
> *Type:* ./helloworld
> And it should execute.
> 
> 
> *Hope that helps.*
> 
> Eric Robishaw
> 
> 
> 
> On Mon, Aug 4, 2008 at 5:27 PM, yanniepa <> wrote:
> 
> >   --- In  <ts-7000%40yahoogroups.com>,
> > "lee.weihong" <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