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
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@av.it.pt Skype & GTalk -> carlosmf.pt@gmail.com LinkedIn -> http://www.linkedin.com/in/carlosmferreira
-- Carlos Miguel Ferreira Researcher at Telecommunications Institute Aveiro - Portugal Work E-mail - cmf@av.it.pt Skype & GTalk -> carlosmf.pt@gmail.com LinkedIn -> http://www.linkedin.com/in/carlosmferreira