Boost logo

Boost Users :

Subject: Re: [Boost-users] 1.53, Bjam fails when adding arguments [Beginner]
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-03-06 09:14:37


AMDG

On 03/06/2013 05:20 AM, wespaugh wrote:
> <snip>
>
> 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
> ;
>

This is almost correct. You need a ":" between
the compiler and the <compileflags>.

> 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.
>

http://www.boost.org/boost-build2/doc/html/jam/language.html

In Christ,
Steven Watanabe


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