First, build the cross compiler
The "Random Handbook" Angstrom is an interface-friendly, embedded release that uses embedded devices such as handheld devices, set-top boxes, and networked storage devices. The CD-ROM file system is customized for the Angstrom distribution Linux (abbreviated as ANGSTROM). Angstrom information can be logged into the http://www.angstrom-distribution.org.
Angstrom Linux is based on the OpenEmbedded tool created by the embedded system with Linux distributions. Guan OE information can be logged into the http://www.openembedded.org.
For tools and documentation related to building Angstrom, please refer to the disc catalogue [Linux\tools\openembedded.rar]
A compiler that runs in a computer environment can compile code that runs in another environment, and we call this compiler to support cross-compiling, which is called cross-compiling, simply to generate executable code on another platform on one platform. Before compiling the embedded Linux kernel, install the cross-compilation tool, which has a compilation toolkit attached to it.
Create a folder under the/usr/local/directory arm. The command is:
/usr/local/arm
Copy disc: arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 to/home/ema/tool (compressed file is in/mnt/hgfs/share disk directory). The command is:
#cd/mnt/hgfs/share #cp arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2/home/ Ema/tool
Build a directory of your own and copy the zip file in. Then release the installation
#tar JXVF Arm-2009q1-203-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2–c/usr/local/ar
The final step is to set the environment variable:
#export path=/usr/local/arm/arm-2009q1/bin: $PATH See if it's successful: #echo $PATH
It is generally not possible to set after each login, then:
#sudo Vim ~/. Profile or #sudo gedit~/. Profile in the last add up on the bin subdirectory of the directory that you are releasing in the compressed package #SetPATH so it includes user'S Private bin if it exists if[-D"$HOME/bin" ] ; Then PATH="$HOME/bin: $PATH"fi
PATH="$PATH:/usr/local/hadoop/bin"#增加你的目录路径:/usr/local/hadoop/bin
Then log back in or
# source./.profile Immediate Effect
Check for compiled version: #gcc-V
In fact, the manufacturer provided the version is ver4.4.3
In order to less trouble, or directly with the manufacturers to provide the decompression package bar.
#echo $PATH
sbc37x cross-compiler platform QT+OPENCV