Acceleration of crossing for the hand, the toolbox is not recognized, despite the definition in user-config.jam

I am trying to cross-compile boost 1.52.0 for the freescale ARM processor board with a Linux PC.

Based on the (fairly minimal) boost cross-compilation documentation, I set up a user-config.jam file that reads like this:

using gcc : arm : /mnt/lv1/src/ROM1210/cross_compiler/arm-fsl-linux-gnueabi/bin/arm-fsl-linux-gnueabi-g++ ; 

Then i ran

 bootstrap.sh --prefix=`realpath ../tools` ./b2 toolset=gcc-arm 

Results:

 /mnt/lv1/src/ROM1210/extras/boost_1_52_0/tools/build/v2/tools/gcc.jam:107: in gcc.init from module gcc error: toolset gcc initialization: error: version 'arm' requested but 'g++-arm' not found and version '4.3.2' of default 'g++' does not match error: initialized from /mnt/lv1/src/ROM1210/extras/boost_1_52_0/tools/build/v2/build/toolset.jam:39: in toolset.using from module toolset /mnt/lv1/src/ROM1210/extras/boost_1_52_0/tools/build/v2/build-system.jam:481: in process-explicit-toolset-requests from module build-system /mnt/lv1/src/ROM1210/extras/boost_1_52_0/tools/build/v2/build-system.jam:562: in load from module build-system /mnt/lv1/src/ROM1210/extras/boost_1_52_0/tools/build/v2/kernel/modules.jam:283: in import from module modules /mnt/lv1/src/ROM1210/extras/boost_1_52_0/tools/build/v2/kernel/bootstrap.jam:142: in boost-build from module /mnt/lv1/src/ROM1210/extras/boost_1_52_0/boost-build.jam:17: in module scope from module 

Running b2 with --debug-configuration offers a bit of additional information besides confirming that the correct user-config.jam file is being read.

Any ideas what I'm doing wrong?

+6
source share
1 answer

It turns out that it was not my user-config.jam file that was uploaded, but one packed with the boost distribution and with a very similar file name. Always pay to double-check these things when something goes wrong!

+2
source

All Articles