Debian Multiarch Cross compiler trial

Obsolete -- don't use following procedure

After hours of internet search for emdebian, I've found emdebian is now stealled.  It toward to multiarch.  So that I've tried to install cross compiler for amel by follow the steps describe http://toolchains.secretsauce.net/

First, I made a flesh clean install of debian jessie D2 on Hyper-V, and then just did following;

Add to your /etc/apt/sources.list:

 

deb http://toolchains.secretsauce.net unstable main
deb-src http://toolchains.secretsauce.net unstable main

 

Tell APT to pull in packages for the target architecture. For instance:

 

dpkg --add-architecture armel
dpkg --add-architecture armhf

 

Tell APT to trust these packages, do

wget -q -O - http://toolchains.secretsauce.net/key.gpg | sudo apt-key add -

Now we're ready to go:

 

aptitude update
aptitude install gcc-4.9-arm-linux-gnueabi gcc-4.9-arm-linux-gnueabihf

Boost trial install

List archtectures added:

dpkg --print-foreign-architectures

Boost install for qtplatz need bzip2 iostreams, so install package for 'armhf'

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 ;

 

 
 
Undefined

ユーザーログイン