Boost logo

Boost Users :

Subject: Re: [Boost-users] Do correct instructions for MinGW install exist?
From: lizy10b (lizy10b_at_[hidden])
Date: 2013-07-02 02:15:18


Hi Kirk Joppy,
I have got most of the 1.53 libraries built with MinGW, though some of them do not work correctly till now.
I would like to share with you the following steps I did.

1. Add the bin folder of MinGW to your windows environment variable "PATH".
2. Open a the new commandline window, and type "bootstrap.bat mingw" in the boost souce root dir to build the b2.exe and bjam.exe.
3. Type "b2 toolset=gcc --prefix=G:\boost_1_53_0\my-build' to build the libraries.

Hope it works.

cheers.
Zhiyu Li

2013-07-02



lizy10b



·¢¼þÈË£º Kirk Joppy
·¢ËÍʱ¼ä£º 2013-07-02 12:12:50
ÊÕ¼þÈË£º boost
³­ËÍ£º
Ö÷Ì⣺ [Boost-users] Do correct instructions for MinGW install exist?
 
Dear Boost users,
I have recently been trying to install boost 1.53 for use with MinGW.
I followed the instructions here
http://www.boost.org/doc/libs/1_53_0/more/getting_started/windows.html#prepare-to-use-a-boost-library-binary
to the letter with resulting failure. I then noticed that when running
b2 install --prefix=G:\boost_1_53_0\my-build
from G:\boost_1_53_0\tools\build\v2
as per the instructions, the first few lines of output read
warning: No toolsets are configured
warning: Configuring default toolset "msvc"
warning: If the defrault is wrong, your build may not work correctly
warning: Use the "toolset=xxxxx" option to override our guess
warning: For more configuration options, please consult <webpage>
I have consulted the recommended web page and I think I have gotten a
working install. However, given that the instructions as written are
incorrect I would like to ask
1. Is there a correct, definitive source of instructions for
installing boost (with MinGW)?
2. Should the documentation be corrected? I think this error is
important given that the section I was working from is specifically
indicated to pertain to non-MSVC builds.
3. I have found several conflicting sources of information regarding
how to build boost for use with static linking. StackOverflow, for
example, has several posts about this, none of which agree with each
other. Is there are definitive, correct source of this information? If
not I suppose I will post to this mailing list asking about it.
Thank you for your consideration.
Regards,
kjoppy
_______________________________________________
Boost-users mailing list
Boost-users_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net