Build the ora9arm cross-compilation environment

Source: Internet
Author: User
1. decompress the compiler to the corresponding directory (I will extract it to the root directory): unzip root@localhostsmb?#tar-jxvfarm-linux-gcc-4.4.3.tar.bz2-C/-C (c is capitalized) is decompressed to the specified directory, I decompress the compiler to the root directory and apply-C//...

1. extract the compiler to the corresponding directory (I will extract it to the root directory ):
[Root @ localhost smb] # tar-jxvf arm-linux-gcc-4.4.3.tar.bz2-C/
-C (c is capitalized) is decompressed to the specified directory. I decompress the compiler to the root directory and apply-C/
 
Decompress the package to the/opt/FriendlyARM Directory (this directory does not necessarily work out the same for different packages. the following configuration is determined based on the corresponding path ).
2. configure environment variables
# Vim ~ /. Bashrc
Add at the end of the file:
Export PATH = $ PATH:/opt/FriendlyARM/toolschain/4.4.3/bin (compiler PATH)
As follows:
 
3. execute the set environment variables and test the cross-compilation environment.
Run:
[Root @ localhost local] # source ~ /. Bashrc
On the terminal, enter the arm-linux + tab key to check whether the following arm-linux-** compiler appears. If yes, the build is successful.
 

 
Author: xubin341719

Related Article

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.