I'm looking to build boost's Serialization library on Windows, for Android. I have downloaded Android NDK r8d, and boost 1.53.
Step 1 in this process is installing boost.build, to get me a bjam or b2 executable I can use to build the library.
So I go to boost_1_53_0/tools/build/v2 and run boostrap.bat, as instructed here: http://www.boost.org/doc/libs/1_53_0/more/getting_started/windows.html
and it fails.
'cl' is not recognized as an internal or external command
bootstrap.log suggests the script is using msvc. Googling this problem, I find solutions suggesting I try to add GCC to my path and append GCC to the bootstrap command.
Now, I don't have minGW installed yet. However, I don't think I want to be using the minGW GCC, since that's not what I'm going to be building the boost libraries or my code with; I'm going to be using the GCC provided by the Android NDK.
Am I right in assuming that it is significant which compiler Boost.Build is built with? If so, how do I get past this problem? Adding the NDK compiler location to Path and attempting to bootstrap with arm-linux-androideabi-g++ doesn't work; the bootstrap log says its not a supported toolset, and that I should use mscv, gcc, etc..