Debian ARM cross-tools install on amd64 Linux (Jessie)

Previous post for Debian Multiarch cross tools was obsolte; here is the yet another trial based on Debian multiarch webpages.

Install Cross tools

Reference: https://wiki.debian.org/CrossToolchains

Here is the command history;

sudo apt-get install build-essential

sudo dpkg --add-architecture armhf

dpkg --print-foreign-architectures

sudo echo "deb http://emdebian.org/tools/debian/ jessie main" > /etc/apt/sources.list.d/crosstools.list

Add following line to end of /etc/apt/sources.list file (as of 14th Martch, I got failed "unmet dependenciy problem" for apt-get install crossbuild-essential-armhf, that was fixed by adding following line)

sudo echo "deb http://ftp.debian.org/debian/ unstable main" >> /etc/apt/sources.list 

And then, continue original steps on the reference article

sudo apt-get install curl

curl http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | sudo apt-key add -

sudo apt-get update

sudo apt-get install crossbuild-essential-armhf

Install Boost-1.57

sudo apt-get install bzip2:armhf

Create ~/user-config.jam as;

using gcc : arm : arm-linux-gnueabihf-g++-4.9 : <cxxflags>-std=c++11 ; using python : 2.7 ;

./bootstrap.sh --prefix=/usr/local/arm-linux-gnueabihf/usr/local

./b2 toolset=gcc-arm link=static install

 

English

User login