Ubuntu 16.04 64-bit installation ARM-NONE-LINUX-GNUEABI-GCC steps and problem solving

Source: Internet
Author: User

One first download arm-none-linux-gnueabi-gcc Cross compiler, according to different needs please at the URL:

Download the required code in the Https://launchpad.net/gcc-arm-embedded/+download

Two create a directory by extracting the command

TAR-JXVF gcc-arm-none-eabi-4_9-2015q3-20150921-linux.tar.bz2

Unzip the file, and then

Use the command: VIM/HOME/XXXX/.BASHRC edit the. bashrc file to add environment variables.

In the file, add the last line:

    1. export PATH=$PATH:/home/XXXX/arm/arm-linux-gcc-4.9.3/bin

Last executed: SOURCE/ETC/BASH.BASHRC

Three because the 64-bit run 32 compiler is missing the corresponding library file, so the runtime will error

./ARM-NONE-EABI-GCC
BASH:./arm-none-eabi-gcc:no such file or directory
Run the following command to load the library file:

sudo apt-get install lib32ncurses5 lib32z1

It shows that the installation was successful,

Four reference documents

1 http://blog.csdn.net/xie0812/article/details/52672687

Ubuntu 16.04 64-bit installation ARM-NONE-LINUX-GNUEABI-GCC steps and problem solving

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.