How do I show entire compiler command line when building boost

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. Regards Dennis

dennisct@fastmail.fm 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> - Volodya

Vladimir Prus <ghost@cs.msu.su> writes:
dennisct@fastmail.fm 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

Thanks for that! On Thu, 28 Apr 2005 15:13:35 +0400, "Vladimir Prus" <ghost@cs.msu.su> said:
dennisct@fastmail.fm 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>
- Volodya
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
participants (3)
-
David Abrahams
-
dennisct@fastmail.fm
-
Vladimir Prus