Solve the problem of building an arm-linux-gcc cross environment on Ubuntu

Source: Internet
Author: User
Howtoinstall: cd/usr/release Add/usr/local/arm/& lt; version & gt;/bintoyourpathtousethecroscompiler.1. If stdio. h is not found, the decompressed package is saved in the path

How to install:

Cd/usr/local

Mkdir arm

Cd arm

Tar Ixvf cross- .Tar.bz2

Add/usr/local/arm/ /Bin to your path to use the cross compiler.

1. If stdio. h is not found, the path of the decompressed package is incorrect;

2. When cannot found lgcc_s occurs, it indicates that the gcc version conflicts with the arm-linux-gcc version;

3. If you do not have any permissions, use chmod 777 arm-linux-gcc;

4. If "" Or something cannot be found, it indicates that there is a problem with the decompression method! I used the command line tar-zxvf to decompress the package. I may have decompressed the package on windows or right-click it. I cannot remember it. After the command line is decompressed, all commands are automatically granted the 777 permission, but not all of the preceding decompression methods are 777.

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.