开发者

How to build boost library (program options) without using bjam

开发者 https://www.devze.com 2023-02-18 07:35 出处:网络
I need to build boost program options static library in both PC/Mac. It has only 11 cpp source code, so I expect to compile it by g++ SO开发者_StackOverflow社区URCE_CODE, but I gotan error something l

I need to build boost program options static library in both PC/Mac. It has only 11 cpp source code, so I expect to compile it by g++ SO开发者_StackOverflow社区URCE_CODE, but I got an error something like utf8_codecvt_facet.cpp:15:47: error: ../../detail/utf8_codecvt_facet.cpp: No such file or directory.

How to build boost library (program options) without using bjam? Is there a way to see what compiler options/commands bjam uses for both Mac/PC?


bjam -n will print the commands instead of executing them. bjam -d 2 will print the commands as they are executed.

http://www.boost.org/boost-build2/doc/html/jam/usage.html

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

0

精彩评论

暂无评论...
验证码 换一张
取 消