View Single Post
Old 03-30-2011, 12:42 PM   #43
PoP
 curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.PoP ought to be getting tired of karma fortunes by now.
 
PoP's Avatar
 
Posts: 3,002
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
Code:
normand@5635C04:~/Kindle$ ls
CrossTool  hello  hello1  hello.c  KiTerm
normand@5635C04:~/Kindle$ file hello
hello: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
normand@5635C04:~/Kindle$ export PATH=/home/normand/x-tools/arm-kindle-linux-gnueabi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/home/normand
normand@5635C04:~/Kindle$ arm-kindle-linux-gnueabi-gcc -o hello hello.c
normand@5635C04:~/Kindle$ ls
CrossTool  hello  hello1  hello.c  KiTerm
normand@5635C04:~/Kindle$ file hello
hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.22, not stripped
normand@5635C04:~/Kindle$
@Xiaopangzi, that was the piece I was missing!

Perfect now:
Code:
[root@kindle root]# cd /mnt/us
[root@kindle us]# ./hello
Hello World
[root@kindle us]#
PoP is offline   Reply With Quote