maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Halloworld not run on n900 (https://talk.maemo.org/showthread.php?t=45494)

Califax 2010-02-22 23:29

Halloworld not run on n900
 
Hello
Have after instructions

Documentation/Maemo 5 Developer guide / Development Environment/Maemo SDK

to me Helloworld for "sbox-FREMANTLE_ARMEL :" built.
Why does Helloworld on my N900 not run?:confused:
Can do one instructions for sbox-FREMANTLE_ARMEL: write.

Greeting Califax

Califax 2010-02-23 09:39

Re: Halloworld not run on n900
 
Hello
my English is bad.
Project:
helloworld

under Ubuntu9.10
Terminal:

[Sbox-FREMANTLE_X86: ~]> gcc embankment-g helloworld.c-o helloworld
[Sbox-FREMANTLE_X86: ~]> ls-F hello*
helloworld* helloworld.c

[Sbox-FREMANTLE_X86: ~]>. / helloworld
Hello world

Everything OK,

Project:
helloworld

under Ubuntu9.10
Terminal:

[Sbox-FREMANTLE_ARMEL: ~]> gcc embankment-g helloworld.c-o helloworld
[Sbox-FREMANTLE_ARMEL: ~]> ls-F hello*
helloworld* helloworld.c


[Sbox-FREMANTLE_ARMEL: ~]>. / helloworld
Hello world

Everything OK,

helloworld copy to N900.

N900
xTerminal

/media/mmc1 $. / helloworld
-sh:. / helloworld:Permission denied

not OK,

How I agree helloworld under N900 to run

Greeting Califax

codeMonkey 2010-02-23 09:54

Re: Halloworld not run on n900
 
You've copied it to the mmc card - this is formatted with a fat filesystem, so it doesn't have unix executable permissions, and won't run.
Copy it to /home/user/ then give it executable rights, then try again.

Califax 2010-02-23 21:11

Re: Halloworld not run on n900
 
Hello codeMonkey


Thanks nicely

Has copied helloworld after/home/user/.

And with

chmod a x helloworld

I have given the program the access rights.

Thanks nicely:)

Greeting Califax


All times are GMT. The time now is 09:26.

vBulletin® Version 3.8.8