Matrix-518 User Guide
‧
12
‧
3.26 Install GNU Toolchain
Find a PC with Linux OS installed as followed:
Fedore 7, ubuntu 7.04, OpenSUSE 10.2, Mandriva 2008, Debian 5.0, Centos (RedHat) 5 and above.
Login as a root user then copy the arm-linux-4.3.2.tar.gz to root directory of PC. Under root directory,
type following command to install the Matrix-518 Toolchain:
#tar -xvfj arm-linux-4.3.3.tar.bz2
The toolchain file name are:
arm-linux-gnueabi-gcc
arm-linux-gnueabi-g++
arm-linux-gnueabi-strip
Version: gcc 4.3.3, glibc 2.9, binutils 2.18
For Windows user, please download the toolchain from CodeSourcery at
http://www.codesourcery.com/sgpp/lite/arm/portal/package4547/public/arm-none-linux-gnueabi/arm-2
009q1-203-arm-none-linux-gnueabi.exe
The toolchain file name are:
arm-none-linux-gnueabi-gcc
arm-none-linux-gnueabi-g++
arm-none-linux-gnueabi-strip
Version: gcc 4.3.3, glibc 2.8, binutils 2.19
3.27 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-518 user disk (/home/guest) and use
chmod +x file.o
To change it to execution mode and
./file.o
to run the program.
Содержание Matrix-518
Страница 2: ......
Страница 6: ...Matrix 518 User Guide 2 2 Layout 25 12 5 4 167 5 5 9 104 40 1 10 Reset Button...