Hello,
I wrote a "hello world" app but can't run it on the phone.
Code:#include <stdio.h> int main(int argc, char **argv) { printf("hello world!\n"); return 0; }However no problem running it in QEMU. Please help!Code:sbox-HARMATTAN_ARMEL:~/helloworld$ make gcc main.c -o hello sbox-HARMATTAN_ARMEL:~/helloworld$ ./hello hello world! sbox-HARMATTAN_ARMEL:~/helloworld$ file hello hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.16, dynamically linked (uses shared libs), not stripped sbox-HARMATTAN_ARMEL:~/helloworld$ scp hello root@n950:/root sbox-HARMATTAN_ARMEL:~/helloworld$ ssh root@n950 RM680-22-6_PR_RM680:~# chmod +x hello RM680-22-6_PR_RM680:~# ./hello -sh: ./hello: Operation not permitted RM680-22-6_PR_RM680:~# ls -l total 8 -rwxr-xr-x 1 root root 5540 Jul 11 12:13 hello

Reply With Quote


