Opened 9 years ago
Last modified 9 years ago
#8762 new Bugs
Boost.Build engine build fails with MinGW toolset
Reported by: | Owned by: | ||
---|---|---|---|
Milestone: | To Be Determined | Component: | Building Boost |
Version: | Boost 1.54.0 | Severity: | Problem |
Keywords: | Cc: | dwalker07@… |
Description
MinGW toolset and MSYS shell:
$ cd boost_1_54_0 $ ./bootstrap.sh --with-toolset=mingw Building Boost.Build engine with toolset mingw... Failed to build Boost.Build build engine Consult 'bootstrap.log' for more details
bootstrap.log attached
Attachments (1)
Change History (6)
by , 9 years ago
Attachment: | bootstrap.zip added |
---|
comment:2 by , 9 years ago
Cc: | added |
---|
comment:3 by , 9 years ago
I managed to build it following these steps:
- Installed MinGW stable (mingw-get-inst-20120426.exe) to C:\MinGW
- Added zlib (get libz-1.2.7-1-mingw32-dev.tar.lzma and libz-1.2.7-1-mingw32-dll-1.tar.lzma from http://sourceforge.net/projects/mingw/files/MinGW/Extension/zlib/zlib-1.2.7-1/)
- Extract boost_1_54_0.zip to C:\MinGW (after it's finished it should be in C:\MinGW\boost_1_54_0)
- Open a command prompt (cmd, not MSYS), add the MinGW bin directory to the PATH, build and install Boost.Build
SET PATH=C:\MinGW\bin;%PATH% cd C:\MinGW\boost_1_54_0\tools\build\v2 bootstrap.bat b2 install --prefix=C:/MinGW/b2
- Build Boost
..\b2\bin\b2 -j %NUMBER_OF_PROCESSORS% -a toolset=gcc --disable-icu --without-context --without-coroutine --build-type=complete stage
- Wait for something between 40 minutes to 2 hours and you should have everything ready in C:\MinGW\boost_1_54_0\stage\lib
comment:5 by , 9 years ago
Note:
See TracTickets
for help on using tickets.
bootstrap.log