Boost logo

Boost Users :

Subject: Re: [Boost-users] Need help with errors while building boost for clang on android NDK
From: Robert Dailey (rcdailey.lists_at_[hidden])
Date: 2016-09-26 12:55:04


On Mon, Sep 26, 2016 at 11:09 AM, Oliver Kowalke
<oliver.kowalke_at_[hidden]> wrote:
> 2016-09-26 17:57 GMT+02:00 Robert Dailey <rcdailey.lists_at_[hidden]>:
>>
>> >> > clang-linux.compile.asm
>> >> >
>> >> >
>> >> > bin.v2\libs\context\build\clang-linux-android\release\link-static\runtime-link-static\target-os-linux\threading-multi\asm\make_i386_ms_pe_gas.o
>> >> > libs\\context\\src\\asm\\make_i386_ms_pe_gas.asm:30:1: error: unknown
>> >> > directive
>> >> > .def _make_fcontext; .scl 2; .type 32; .endef
>> >
>> >
>> > you try to build for i386 instead arm
>>
>> How can I make it use arm instead?
>
>
> I assume you try to cross compile :
> http://www.boost.org/doc/libs/1_61_0/libs/context/doc/html/context/architectures/crosscompiling.html

I am indeed trying to cross compile, however I am not familiar with b2
nor do I much care to learn it (since it's a means to an end for me to
build boost).

Can you provide an example of how I can specify the documented
settings to b2 for my build? Do I provide the values to those in my
project-config file?


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