[mini2440-008] Installing the ARM-LINUX-GCC Cross compiler

Source: Internet
Author: User

First, the relevant information to obtain

I personally in the study mini2440 Development Board is followed by Vedon teacher's first video learning, video and materials I made a slight change, just changed the file organization structure. For information, please visit the Baidu Cloud link.

Link: Http://pan.baidu.com/s/1gfy7EmB Password: J6TM

Download the good information in the video supporting information under the "Q-Net JZ2440V2 main CD. iso" file, unzip or load with a virtual CD-ROM, you can get to the arm-linux-gcc-3.4.5-glibc-2.3.6.tar.bz2 cross compiler in the CD Tools directory.

The above information is too big, want to get a single cross-compiler file, please visit the following Baidu Cloud link directly.

Link: http://pan.baidu.com/s/1gfOWb31 Password: 8i6l

Second, install cross-compiler

1. Establish the mini2440 working directory, set up the workspace directory under Ubuntu home directory, and then set up s3c2440 directory, where all mini2440 related information is stored.

mkdir -P workspace/s3c2440/package/

2. Copy the downloaded cross-compiler to the Ubuntu virtual machine and store it in the/home/user/workspace/s3c2440/package/directory.

3. Unzip the cross-compiler into the/opt/directory

sudo tar -jxf arm-linux-gcc-3.4. 5-glibc-2.3. 6. tar. Bz2-c/opt/

4. Adding ARM-LINUX-GCC to an environment variable

Modify the. bashrc file in the home directory, add a row, and then execute the script to make the environment variable configuration effective immediately.

[Email protected]:~$ echo "Export path=\ $PATH:/opt/gcc-3.4.5-glibc-2.3.6/bin/" >>. BASHRC
[Email protected]:~$. . BASHRC

5. Confirm that the environment variable is configured successfully.

Check the version number of the ARM-LINUX-GCC, there is a version number to print out the description configuration OK, configuration failure will be prompted to find the ARM-LINUX-GCC command.

[Email protected]:~$ arm-linux-gcc -V
GCC 3.4. 5

[mini2440-008] Installing the ARM-LINUX-GCC Cross compiler

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.