Active Topics

 


Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Feb 2010
#1
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?
Can do one instructions for sbox-FREMANTLE_ARMEL: write.

Greeting Califax
 
Posts: 4 | Thanked: 0 times | Joined on Feb 2010
#2
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
 
Posts: 755 | Thanked: 406 times | Joined on Feb 2008 @ UK
#3
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.
 

The Following 2 Users Say Thank You to codeMonkey For This Useful Post:
Posts: 4 | Thanked: 0 times | Joined on Feb 2010
#4
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:36.