Boost logo

Boost-Build :

Subject: Re: [Boost-build] error while cross compiling for arm
From: Vladimir Prus (vladimir.prus_at_[hidden])
Date: 2016-08-09 05:45:23

On 04-Aug-16 5:45 AM, Nagaraja wrote:
> Hi All,
> I am trying to cross compile boost 1.61.0 to using arm cross toolcahin
> providded by ST SDK
> my compiler version is armv7-linux-gcc-4.8.3

> gcc.compile.c++
> bin.v2/libs/context/build/gcc-arm/release/link-static/threading-multi/unsupported.o
> libs/context/src/unsupported.cpp:7:2: error: #error "platform not
> supported"
> #error "platform not supported"

Do you need the Boost.Context library?

If no, pass --without-context.

If yes, pass api=aapcs binary-format=elf

> bin.v2/libs/iostreams/build/gcc-arm/release/link-static/threading-multi/bzip2.o
> libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file
> or directory
> #include "bzlib.h" // Julian Seward's "bzip.h" header.

Looks like your sysroot does not have bzip.h - could you pass
-sNO_BZIP2=1 to skip building bzip2 code?


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at