The following describes how to create an embedded development environment for Ubuntu7.10. 1. Download The ELDK4.1iso file #
The following describes how to create an embedded development environment for Ubuntu7.10.
1. Download The ELDK4.1 iso file
Http://mirror.switch.ch/ftp/mirror/eldk/eldk/4.1/arm-Linux-x86-uclibc/iso/arm-2007-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