|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-04-28 08:17:45
Vladimir Prus <ghost_at_[hidden]> writes:
> dennisct_at_[hidden] wrote:
>
>> Hi, I think this is a very simple question, but I can't find the answer
>> in the boost.build or boost.jam documentation...
>>
>> Is there any way I can make the boost build system show the entire
>> command line (including compiler specific options/flags) it uses to
>> compile files and build libraries? I'm having problems with the new
>> serialization library not linking to the right runtime on vc71 and I'd
>> like to see that command line. By default, it seems to only print the
>> name of the compiler it is using.
>
> bjam -n <whatever options you want>
Actually that option says: "show the command line but don't build
anything." To show the command line you add "-d+2". And you have to
add these options before any options that begin with no hyphens or
double hyphens. This is really stupid; it causes no end of
confusion. How many times have we heard these questions? bjam should
just work like make by default and show the full command lines, with a
--quiet option for those of us who don't want to watch all that junk.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk