
Matrix-505 User Guide
‧
12
‧
3.28 Getting Started with the Hello Program
There are many example programs on Artila FTP. To compile the sample you can use the Make file
and type:
make
To compile and link the library. Once done, use ftp command
ftp 192.168.2.127
Then login with password. Use bin command to set transfer mode to binary
ftp>bin
To transfer the execution file to Matrix-505 user disk (/home/guest) and use
chmod +x file.o
To change it to execution mode and
./file.o
to run the program.
3.29 Auto Start Program on Boot
To start a program on boot, you can use
/etc/rc.local.
For example to use
vi
to edit
rc.local
hello &
exit 0
Hello will be executed after system boot up.
rc.local
has the similar function as
/etc/rc
in Matrix-505.
Содержание Matrix-505
Страница 2: ......