SEARCH
TOOLBOX
LANGUAGES
modified on 21 May 2014 at 19:39 ••• 60,408 views

Debian ARM Cross-compile

From Manuals

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
1. Add the native compiler, make and ncurses library if they are not already in your development system.
1. Add the native compiler, make and ncurses library if they are not already in your development system.
-
apt-get gcc g++ make libncurses5-dev
+
apt-get gcc g++ make libncurses5-dev
2 Add the following line to /etc/apt/sources.list
2 Add the following line to /etc/apt/sources.list
-
deb http://www.emdebian.org/debian/ lenny main
+
deb http://www.emdebian.org/debian/ lenny main
-
apt-get install emdebian-archive-keyring
+
apt-get install emdebian-archive-keyring
-
apt-get update
+
apt-get update
3. Install the following packages
3. Install the following packages
-
apt-get install linux-libc-dev-armel-cross libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi gdb-arm-linux-gnu uboot-mkimage
+
apt-get install linux-libc-dev-armel-cross libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi gdb-arm- linux-gnu uboot-mkimage
-
#apt-get install apt-cross dpkg-cross
+
#apt-get install apt-cross dpkg-cross
References
References

Revision as of 17:16, 3 August 2010

1. Add the native compiler, make and ncurses library if they are not already in your development system.

apt-get gcc g++ make libncurses5-dev

2 Add the following line to /etc/apt/sources.list

deb http://www.emdebian.org/debian/ lenny main
apt-get install emdebian-archive-keyring
apt-get update

3. Install the following packages

apt-get install linux-libc-dev-armel-cross libc6-armel-cross libc6-dev-armel-cross binutils-arm-linux-gnueabi gcc-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi gdb-arm-  linux-gnu uboot-mkimage
#apt-get install apt-cross dpkg-cross

References

http://wiki.debian.org/EmdebianToolchain
http://www.emdebian.org/crush/keys.html