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]#