Compiler command line options...
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? Thanks in advance. -- Soumitra
Soumitra Chatterjee
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 libraries. -- Dave Abrahams Boost Consulting www.boost-consulting.com
participants (2)
-
David Abrahams
-
Soumitra Chatterjee