windows 10 上源码编译boost 1.66.0 | compile boost 1.66.0 from source on windows 10

本文首发于个人博客https://kezunlin.me/post/854071ac/,欢迎阅读!

compile boost 1.66.0 from source on windows 10

Series

Guide

download

wget https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.zip
unzip boost_1_66_0.zip

compile

cd boost_1_66_0

./bootstrap.bat 

./b2 --help

./b2 --clean

./b2 -j8 toolset=msvc-14.0 address-model=64 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/x64 debug release

#./b2 -j8 toolset=msvc-14.0 address-model=32 architecture=x86 link=static threading=multi runtime-link=shared --build-type=minimal stage --stagedir=stage/win32 debug release

Reference

History

  • 20180301: created.

Copyright

posted @ 2019-11-12 13:56  kezunlin  阅读(447)  评论(0编辑  收藏  举报