NDVR2200F
Installation Guide & User’s
1/8/2008
19/66
When it comes to installation, it is recommended that you install all the packages by selecting
user installation rather than server or workstation installation option. Also, select No firewall on
the Firewall Configuration. This has something to do with the NFS and Samba configurations.
So make sure to select No firewall on the configuration.
5.2. Building the Cross Compiler
In general, a compiler generates a binary code suitable for its own system. For example, the
compiler gcc on x86 system generates the x86 binary code. A target board cannot directly
compile an application program or kernel, because it does not have enough space for storage.
To develop the kernel and application program for a target, the cross compilation environment
for the target should be built on a host system. It is the cross compiler that generates ARM
binary codes on x86 machines.
The cross compiler consists of the following:
Binutils: This is the abbreviation of binary utilities which are required to handle
binary files such as ar, nm, ld, ranlib, objdump, and others. These can be
downloaded from GNU site.
GCC: GCC is an abbreviation of GNU CC, which is compiler. It includes compilers
for C, Fortran, C++, etc. This can also be downloaded from the GNU site.
GLIBC: GLIBC refers to the GNU C Library. It has the library required to compile C
programs. GCC and GLIBC need an architecture-dependent kernel for compilation. It
can also be downloaded from the GNU site.
RPMs are supposed to be downloaded and compiled before use. In order to eliminate the
process of compiling them after downloading tool chain, they are created in the form of
compressed files. The tool chain should be installed in two versions. First, uncompress the arm-
linux-gcc-3.4.4-glib-2.3.5-static.tar.gz file at the root (/) directory in order to install the tool chain.
The other version of the tool chain can be installed by uncompressing the arm-linux-gcc-3.4.4-
glib-2.3.5-static.tar.gz file at the /opt/crosstool/arm-linux/gcc-3.4.4-glibc-2.3.5/ directory.
Uncompress at the directories above and make the PATH at the /root/.bashrc or .bash_profile
before use (For details, refer to the Readme.txt in the directory containing the compressed form
of the tool chain).