在windows环境,使用mingw编译boost

[复制链接]
 楼主| keer_zu 发表于 2019-1-29 16:22 | 显示全部楼层 |阅读模式
本帖最后由 keer_zu 于 2019-1-29 16:26 编辑

1. 下载 boost 代码,解压
2. 在当前目录下执行:
  1. D:\tools\boost_1_69_0>bootstrap.bat mingw


然后当前目录会有文件生成:

  1. Building Boost.Build engine

  2. Bootstrapping is done. To build, run:

  3.     .\b2

  4. To adjust configuration, edit 'project-config.jam'.
  5. Further information:

  6.     - Command line help:
  7.     .\b2 --help

  8.     - Getting started guide:
  9.     http://boost.org/more/getting_started/windows.html

  10.     - Boost.Build documentation:
  11.     http://www.boost.org/build/doc/html/index.html

让后用生成的 b2.exe:
  1. D:\tools\boost_1_69_0>b2.exe --prefix=d:\tools\boost_1_69_0 --build-type=complet
  2. e toolset=gcc threading=multi



您需要登录后才可以回帖 登录 | 注册

本版积分规则

个人签名:qq群:49734243 Email:zukeqiang@gmail.com

1477

主题

12909

帖子

55

粉丝
快速回复 在线客服 返回列表 返回顶部