Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.53, Bjam fails when adding arguments [Beginner]
From: wespaugh (wespaugh_at_[hidden])
Date: 2013-03-06 08:20:42


Thank you very much for the assistance. It got my through that error, but
I've smacked headlong into another one.

My user-config.jam now specifies the compiler with the following line

using gcc : android :
$(androidNDKRoot)/toolchains/arm-linux-androideabi-4.7/prebuilt/$(androidPlatform)/bin/arm-linux-androideabi-g++
compileflags="--sysroot=$(androidNDKRoot)/platforms/android-8/arch-arm/
-I$(androidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.7/include
-I$(androidNDKRoot)/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi/include"
;

I've played around with adding spaces before and after the equal sign in
compileflags="--sysroot...", but in all cases I got an error similar to:

arm-linux-androideabi-g++.exe: error:
compileflags=--sysroot=/cygdrive/c/Android/android-ndk-r8d/platforms/android-8/arch-arm/:
No such file or directory

If I leave that compile flag out, the error recurs for the next -I compile
flag. I have verified that directories exist at each of those paths.

When trying the alternate format I came across for compile flags, which
changes the compiler line to this:

using gcc : android :
$(androidNDKRoot)/toolchains/arm-linux-androideabi-4.7/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
;

I get a four instances of the following error when I attempt to run b2:
/bin/sh: compileflags: No such file or directory

I've also tried with a space between <compileflags> and the flag, but I get
the very same errors.

I really do appreciate your initial help. It would help me immensely if you
could offer any advice on this next problem as well, or could point me to
somewhere that I could learn to work through these problems for myself. The
particulars about how things need to be formatted / spaced aren't obvious to
me, and I haven't had luck finding relevant documentation.

Thanks!

--
View this message in context: http://boost.2283326.n4.nabble.com/1-53-Bjam-fails-when-adding-arguments-Beginner-tp4643814p4643863.html
Sent from the Boost - Users mailing list archive at Nabble.com.

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