$include_dir="/home/hyper-archives/boost-build/include"; include("$include_dir/msg-header.inc") ?>
Subject: Re: [Boost-build] How does one pass user flags to gcc.compile.asm?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2014-04-04 08:40:53
On 04.04.2014 08:22, etwietmeyer_at_[hidden] wrote:
> Hello,
>
> Im using a version of gcc that requires a sysroot flag for all invocations. This includes invocations for assembling .S files in the
> context lib. Looking at gcc.jam, I see that there is no $(USER_OPTIONS) parameter passed. I tried mimicking the msvc.jam mechanism that
> specifies <asmflags> as USER_ASMFLAGS, but as my knowledge of bjam is virtually nil I have not been successful.
>
> Can someone provide a pointer or a suggestion as to what to do?
Eric,
it might be easier to specify such global option as 'sysroot' in user-config.jam, like:
using gcc : : arm-none-linux-gnueabi-gcc --sysroot=/whatever ;
Thanks,
Volodya