System: Ubuntu 14.04 64bit
Compiler gcc version 4.4.4 (4.4.4_09.06.2010)
Unzip the compiler to the appropriate path (note: When I unzip the/home/cross_compile/fsl/path can not find libc.so.6, but actually 32-bit library libc has declared the path within ld.so.conf)
/opt/xxx
Configuring Environment variables
[Email protected]:~$ VI ~/.BASHRC
Add the following two lines to the file:
Fsl= "/opt/arm-fsl-linux-gnueabi"
Export path= $PATH: $FSL/bin
[Email protected]:~$ Source ~/.BASHRC
Test
[Email protected]:~$ ARM-FSL-LINUX-GNUEABI-GCC
Report no such file or directory error, as far as I know the executable elf (XXX-GCC) can not find the corresponding number of LD library, if there is LD library will not only report such a misunderstanding problem.
Install 32-bit environment
Ubuntu13.xx and later Ia32-libs was replaced, not the bird online textbooks, most of them, directly follow the terminal prompt
but the following packages replaced it: lib32z1 lib32ncurses5 lib32bz2-1.0
sudo api-get install lib32z1 lib32ncurses5 lib32bz2-1.0
Basic is good, there are errors on the Internet to find.
Arm-fsl-linux-gnueabi Cross Compiler installation