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

Debian ARM Cross-compile

From Manuals

(Difference between revisions)
Jump to: navigation, search
(Created page with '1. Add the native compiler and make if they are not already in your development system. apt-get gcc g++ make 2 Add the following line to /etc/apt/sources.list deb http://www.e…')
 
(7 intermediate revisions not shown)
Line 1: Line 1:
-
1. Add the native compiler and make 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
+
apt-get install 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/ squeeze main
 +
 
 +
apt-get install emdebian-archive-keyring
 +
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
+
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-gnueabi uboot-mkimage
-
#apt-get install apt-cross dpkg-cross
+
#apt-get install apt-cross dpkg-cross
References
References
-
http://wiki.debian.org/EmdebianToolchain
+
: http://wiki.debian.org/EmdebianToolchain
 +
: http://www.emdebian.org/crush/keys.html

Current revision as of 19:39, 21 May 2014

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

apt-get install gcc g++ make libncurses5-dev

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

deb http://www.emdebian.org/debian/ squeeze 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-gnueabi uboot-mkimage
#apt-get install apt-cross dpkg-cross

References

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