DA-660-8/16-LX User’s Manual
Getting Started
2-7
Installing the Tool Chain (Linux)
The PC must have the Linux Operating System pre-installed before installing the DA-660 GNU
Tool Chain. Redhat 7.3/8.0, Fedora Core, and compatible versions are recommended. The Tool
Chain requires about 100 MB of hard disk space on your PC. The DA-660 Tool Chain software is
located on the DA-660 CD. To install the Tool Chain, insert the CD into your PC and then issue
the following commands:
#mount /dev/cdrom /mnt/cdrom
#rpm –ivh /mnt/cdrom/mxscaleb-3.3.2-6.i386.rpm
The Tool Chain will be installed automatically on your Linux PC within a few minutes. Before
compiling the program, be sure to set the following path first, since the Tool Chain files, including
the compiler, link, library, and include files are located in this directory.
PATH=/usr/local/mxscaleb/bin:$PATH
Setting the path allows you to run the compiler from any directory.
NOTE
Refer to Appendix B for an introduction to the Windows Tool Chain. In this chapter, we use the
Linux tool chain to illustrate the cross compiling process.
Checking the Flash Memory Space
If the flash memory is full, you will not be able to save data to the Flash ROM. Use the following
command to calculate the amount of
Available
flash memory:
/>df –h
If there is not enough
Available
space for your application, you will need to delete some existing
files. To do this, connect your PC to the DA-660 with the console cable, and then use the console
utility to delete the files from the DA-660’s flash memory.
NOTE
If the flash memory is full, you will need to free up some memory space before saving files to
the Flash ROM.