From what I can tell, it doesn't like something about how my compile flags are passed in. I found some documentation on boost.org suggesting that the
I'm trying to build 1.53 for use with an android platform, using some configuration code provided kindly provided by one of the community. (Android shouldn't be relevant to the problem, but it seemed noteworthy). My user-config.jam is: import os ; if [ os.name ] = CYGWIN || [ os.name ] = NT { androidPlatform = windows ; } androidNDKRoot = /cygdrive/c/Android/android-ndk-r8d ; using gcc:android:$(androidNDKRoot)/toolchains/arm-linux-androideabi/prebuilt/$(androidPlatform)/bin/arm-linux-androideabi-g++ <compileflags>--sysroot=$(androidNDKRoot)/platforms/android-8/arch-arm/ <compileflags>-I$(androidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.7/include <compileflags>-I$(androidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi/include <archiver>$(androidNDKRoot)/toolchains/arm-linux-androideabi-4.7/prebuilt/$(androidPlatform)/bin/arm-linux-androideabi/ar <ranlib>$(androidNDKRoot)/toolchains/arm-linux-androideabi-4.7/prebuilt/$(androidPlatform)/bin/arm-linux-androideabi-ranlib ; And I am trying to build with the following command: b2 release --with-serialization --with-thread --with-date_time --with-system --with-filesystem --layout=system threading=multi link=static runtime-link=static toolset=gcc-android target-os=linux threadapi=pthread stage When I try to run, however, I get .../user-config.jam:109: in modules.load *** argument error * rule using ( toolset-module : * ) * called with: ( gcc:android:/cygdrive/c/Android/android-ndk-r8d/toolchains/arm-linux-androideabi/prebuilt/windows/bin/arm-linux-androideabi <compileflags>--sysroot=/cygdrive/c...{Rest of my compiler flags go here} * extra argument <compileflags>--sysroot=/cygdrive/c/Android/android-ndk-r8d/...{Rest of my compiler flags go here} /{...}/build/project.jam:886: see definition of rule 'using' being called /{...}/build-system.jam:257: in load-config /{...}/build-system.jam:399: in load-configuration-files /{...}/build-system.jam:555: in load /{...}/kernel/modules.jam:284: in import /{...}/kernel/bootstrap.jam:142: in boost-build /{...}/boost-build.jam:8: in module scope proper way to define them is like this: compileflags="--sysroot=/cygdrive/c/Android/{...}/ -I$(androidNDKRoot)/toolchains/{...} etc" But that gave me the same error. There's a strong chance that this is in TFM somewhere I just need to R. If so, I apologize, because I cannot find the manual. I would greatly appreciate any assistance in finding where to learn what I need to know about these config files. I would even more greatly appreciate some assistance with this specific problem. -- View this message in context: http://boost.2283326.n4.nabble.com/1-53-Bjam-fails-when-adding-arguments-Beg... Sent from the Boost - Users mailing list archive at Nabble.com.