User`s manual
JampII-mini Users Manual - 22 - PD0606-6-00-01
7. Application Development
7.1. Compile Application
After setup the ARM Linux Development software package, you can use command arm-linux-
gcc, arm-linux-g++ and any linux-tools for arm-machine.
Test simple application by hello.c
# cd ./example
# arm-linux-gcc -o hello hello.c
# file hello
hello: ELF 32-bit LSB executable, ARM, version 1 (ARM), dynamically linked (uses
shared libs), not stripped
*you can check file type by command file
7.2. Transfer and Running application on JampII-mini
After compile application on PC, you can transfer application from PC to JampII-mini on by FTP
client
7.2.1 Start vsFTP deamon for running service FTP server, executing the following commands
# /etc/init.d/vsftpd start
# Starting vsftpd for vsftpd: [ OK ]
7.2.2 download application and running on JampII-mini, executing the following commands
#
ftpget -v -u dg -p abc123 192.168.11.147 hello /home/dg/JampII-mini/example/
hello
# ./hello
Hello Design-Gateway
#