Cross compiler installs GCC version 4.3.3 (sourcery g++ Lite 2009q1-203)

Source: Internet
Author: User

Installation Environment: Ubuntu 14.04

Installation package: toolchain.tar.gz

Compiler version: GCC version 4.3.3 (sourcery g++ Lite 2009q1-203)

The installation steps are as follows:

Step 1:

Copy to directory/usr/local-unzip

CP toolchain.tar.gz/usr/local

Cd/usr/local

TAR-XZVF toolchain.tar.gz

Step 2:

Configure the environment variable to take effect (note that the path must be set to, not confirmed can pwd look at the path)

Vim/etc/bash.bashrc

#在最后添加

Path= $PATH:/usr/local/codesourcery/arm-2009q1/bin

Wq exit, source makes it effective immediately

Source/etc/bash.bashrc

Step 3:

If you can output the configuration information, the version number is displayed: GCC version 4.3.3 (sourcery g++ Lite 2009q1-203), indicating that the installation was successful.

Cross compiler installs GCC version 4.3.3 (sourcery g++ Lite 2009q1-203)

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.