Cross Install Boost

Boost ARM Cross Library on Debian Jessie

  • Debian Jessie amd64 (BETA-1, on Hyper-V) as host operating system
  • Using cross tools provided from raspberrypi.org
  • Install boost_iostream with libbz2

Create $HOME/user-config.jam and add following line;

using gcc : arm : arm-linux-gnueabihf-g++ : <cxxflags>-std=c++11 ;
using python : 2.7 ;
./bootstrap.sh --prefix=/opt/raspi/arm-linux-gnueabihf/usr/local

 

And then, build boost as; (make sure you have write permission to dist)

 ./b2 toolset=gcc-arm cxxflags="-std=c++11" -s BZIP2_SOURCE=~/src/bzip2-1.0.6 install

 

 


 

English

User login