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: 1,140
Karma: 23886149
Join Date: Dec 2010
Location: ♁ ᴺ₄₅₃₀' ᵂ₇₃₃₇' ₆₀"
Device: K3.₄.₂, PW3₅.₈.₇, PRS-350, SGS3&6, iPad,
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 online now   Reply With Quote