Compilation for Foxboard on Debian Sarge

jean Huens, jean@huens.be, april 3 2006

Follow instructions on http://www.acmesystems.it/index.php/Compile a Cprogram

Compile and test a simple application

Using Webcompiler

Compile your C program (hello.c in my case) with the webcompiler on http://www.acmesystems.it/?id=200  and download the hello.out to your computer.

To install the hello.out on the foxboard I did use ftp.
jean@flater:~/src/axis$ ftp 192.168.113.90
Connected to 192.168.113.90.
220 FOX board by Acme Systems srl (brown_1_0) release 2.01 (Mar 06 2006) rea
Name (192.168.113.90:jean): root
331 User name okay, need password.
Password:
230 User logged in, proceed.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> cd /tmp
250 Command successful.
ftp> put hello.out
local: hello.out remote: hello.out
200 Command okay.
150 Opening data connection.
226 Transfer complete.
2344 bytes sent in 0.03 secs (77.7 kB/s)
ftp> ls
200 Command okay.
150 Opening data connection.
drwxrwxrwt 2 root root 100 Jan 1 00:18 .
drwxr-xr-x 8 root root 160 Jan 1 00:00 ..
-rw-r--r-- 1 root root 2344 Jan 1 00:18 hello.out
-rw-r--r-- 1 root root 1 Jan 1 00:00 start_ok
srwxr-xr-x 1 root root 0 Jan 1 00:00 22
226 Transfer complete.
ftp> quit
221 Goodbye.
jean@flater:~/src/axis$

To execute the program on the foaxboard, I did use telnet:
jean@flater:~/src/axis$ telnet 192.168.113.90
Trying 192.168.113.90...
Connected to 192.168.113.90.
Escape character is '^]'.
axis-00408c011853 login: root
Password:
[root@axis-00408c011853 /root]97# cd /tmp
[root@axis-00408c011853 /tmp]97# chmod +x hello.out
[root@axis-00408c011853 /tmp]97# ./hello.out
Hello world !
[root@axis-00408c011853 /tmp]97#

Using SDK

TOBEDONE