Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2003-11-09 19:31:21

Soumitra Chatterjee <soumitra_at_[hidden]> writes:

> Hi,
> I am a newbie, and I have a very basic question regarding compilation
> of boost libraries.
> Setup:
> I am using the bjam setup to build and test the boost library. I use
> something like
> $ cd <boost-root>
> $ bjam -a "-sTOOLS=acc"
> to try and build the library.
> Problem:
> I would like to add some compiler options (eg -myopt) during the
> build.
> How and where do I add them?

you could add "-sBUILD=<cxxflags>-myopt1/<cxxflags>-myopt2"

Beware HP ACC, though, it's too broken to compile most of the Boost

Dave Abrahams
Boost Consulting

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at