Boost logo

Boost-Build :

Subject: Re: [Boost-build] building boost with custom build flags
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-11-18 01:40:17


On Thursday, November 18, 2010 00:56:37 Krumnack, Nils [PHYSA] wrote:
> Hi,
>
> I am stuck with the following problem: I am trying to pass the flags "-m32
> -march=i686" to the gcc when compiling boost, and I just can't figure out
> how. I found a couple of instructions on the web and tried a number of
> things, but nothing seems to be working.
>
> So I have two questions:
> 1) How do I pass specific options into bjam to pass on to the gcc?
> 2) How can I check the options with which the compiler gets called?

Does official documentation, at

    http://www.boost.org/boost-build2/doc/html/bbv2/overview/invocation.html

answer your question?

-- 
Vladimir Prus
http://vladimir_prus.blogspot.com
Boost.Build: http://boost.org/boost-build2

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk