构建升压1.52使用MinGW [英] Building Boost 1.52 with MinGW
问题描述
我试图找到如何建立一个权威的答案的升压1.52 的用的的MinGW 的。我发现在互联网上的一些指标,这可以归结为构建它,像这样:
I am trying to find an authorative answer on how to build Boost 1.52 with MinGW. I found some pointers in the Internet that boil down to build it like so:
cd tools\build\v2\engine
build.bat mingw
copy bin.ntx86\bjam.exe ..\..\..\..
cd ..\..\..\..
bjam --toolset=gcc
由于这些指令可以追溯到至于对的升压1.45 的,因为我无法验证这与升压自己的操作,我想,以验证上面的步骤是正确的人来构建加速使用MinGW。
Since those instructions date back as far as for Boost 1.45 and since I couldn't verify this with Boost's own instructions I'd like to verify if the steps above are the correct ones to build Boost with MinGW.
我尝试了这些步骤,我和它的显得的建设加速,但是我还没有做过全面的测试(和我将有一个概念要做到这一点)。
I tried these steps myself and it seemed to build Boost, however I have not yet done extensive testing (nor would I have a concept to do this).
推荐答案
是的,这是正确的。然而,有本来是一个简单的,但相同的方式;你的脚步,直到电话的bjam通过自动完成bootstrap.bat
:
Yes, that is correct. However there would have been a simpler, yet identical way; your steps until the bjam call are automatically done by bootstrap.bat
:
C:\boost_1_52_0> bootstrap.bat mingw
Building Boost.Build engine
...
C:\boost_1_52_0> b2 toolset=gcc
如果没有明确指定,库将被放置到阶段\\ lib中
目录,包括路径是安装根目录。要测试安装,你可以使用从示例<一个href=\"http://www.boost.org/doc/libs/1_52_0/more/getting_started/windows.html#link-your-program-to-a-boost-library\">Link你的程序一个Boost库。
If not explicitly specified, the libraries will be placed into the stage\lib
directory, include path is the installation root. To test the installation, you can use the example from Link Your Program to a Boost Library.
参考:安装,<一个href=\"http://www.boost.org/doc/libs/1_52_0/more/getting_started/windows.html#$p$ppare-to-use-a-boost-library-binary\">$p$ppare以使用Boost库二进制
这篇关于构建升压1.52使用MinGW的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!