|
Boost Users : |
Subject: Re: [Boost-users] Boost test failures on arm platform
From: Carlos Ferreira (carlosmf.pt_at_[hidden])
Date: 2016-10-10 07:37:32
It seems that, because i'm cross-compiling, the boost building system
is trying to check if the compiler supports all of those c++11
features.
The thing is, in order to do that, the build system compiles a sheet of code.
One of those files is this one:
boost_1_62_0/libs/rational/test/constexpr_test.cpp
Then, the build system does what no one would think when using a
cross-compiler... it tries to execute the resultant binary on the host
computer... It obviously fails. That is happening for all of those
cxx11_ tests.
Because of this, I'm unable to build Boost.Fiber for my Raspberries
with OpenWRT.
Can anyone help me with a solution?
On 10 October 2016 at 11:52, Carlos Ferreira <carlosmf.pt_at_[hidden]> wrote:
> Hello!
>
> I'm cross-compiling Boost to an arm platform and because of that,
> boost fails to execute the cxx11_* tests and then it outputs the
> information that the compiler does not support a series of cxx11_*
> capabilities.
>
> Is there a way to disable these library tests, when cross-compiling?
>
> --
>
> Carlos Miguel Ferreira
> Researcher at Telecommunications Institute
> Aveiro - Portugal
> Work E-mail - cmf_at_[hidden]
> Skype & GTalk -> carlosmf.pt_at_[hidden]
> LinkedIn -> http://www.linkedin.com/in/carlosmferreira
-- Carlos Miguel Ferreira Researcher at Telecommunications Institute Aveiro - Portugal Work E-mail - cmf_at_[hidden] Skype & GTalk -> carlosmf.pt_at_[hidden] LinkedIn -> http://www.linkedin.com/in/carlosmferreira
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net