Ubuntu7.04 install the cross-compiling environment of ELDK4.1

Source: Internet
Author: User
Ubuntu7.04 install the cross-compiling environment of ELDK4.1-general Linux technology-Linux programming and kernel information. For details, refer to the following section. 1. Download The ELDK4.1 iso file
Http://mirror.switch.ch/ftp/mirr... 07-01-22-uclibc.iso

2. Manually mount the CD in linux and change the permission
# Chmod a + x/media/cdrom
# Mount-t iso9660/dev/cdrom/media/cdrom

3. Install
# Mkdir/opt/eldk
# Cd/media/cdrom
#./Install-d/opt/eldk arm

4. Set Environment Parameters
# Cd ~
# Vi. bashrc
Add
Export CROSS_COMPILE = arm-linux-
Export PATH =/opt/eldk/bin:/opt/eldk/usr/bin: $ PATH
# Source. bashrc

5. Set NFS mounting capability
# Cd/opt/eldk/arm/dev
#/Media/cdrom/ELDK_MAKEDEV

# Cd/opt/eldk
#/Media/cdrom/ELDK_FIXOWNER

Now, your ELDK has been installed. Now you can use commands similar to the following to compile the target code.

# Arm-linux-gcc-Wall-g-o hello. c
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.