--- 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/
|