Arm-fsl-linux-gnueabi Cross Compiler installation

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.