On 2012-11-02 19:11:53 +0100, Paul A. Bristow said:
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf
Kraus Philipp Sent: Friday, November 02, 2012 1:54 PM To: boost-users@lists.boost.org Subject: [Boost-users] boost with mingw
Hello,
I try to build Boost with MinGW / MSYS. I have found in the dokumentation http://www.boost.org/doc/libs/1_51_0/more/getting_started/windows.html that MinGW shell is not supported, but I can build bJam with booststrap.sh --toolset=mingw under
Of the
shell, but I get the error: mingw.jam: No such file or directory
Can I build boost under MinGW shell or another shell with the MinGW gcc?
FWIW I built my mingw Boost library collection using a windows .bat containing
b2 -a --build-dir=i:/boost-trunk toolset=gcc-4.7.2 --build-type=complete --without-python --without-mpi --without-locale stage threading=multi > build_gcc_dll_libs_trunk_all_%date%_%tim%.log 2>&1
getting the expected lots of files like libboost_unit_test_framework-mgw47-mt-d-1_52.dll.a in my boost-trunk/stage/lib folder
and I can link to Boost.Test library from mingw32 using Ruben's binaries
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32\Personal%20Builds/ru
benvb/ \i686-w64-mingw32-gcc-4.7.2-release-win32_rubenvb.7z
there are also others like 4.6 and clang - see
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20W...
ubenvb/
I added this tool chain on NetBeans.
My user_config.jam contains
# GCC configuration using the mingw32 version. using gcc : 4.7.2 : "c:/mingw32/bin/g++.exe" ;
Do you build b2 with bootstrap.sh? I build it with "bootstrap.sh --with-toolchain=mingw", but if I run the b2 command I get this errors: mingw.jam: No such file or directory C:/Users/Administrator/Documents/boost_1_51_0/tools/build/v2/build\toolset.jam:39: in toolset.using rule mingw.init unknown in module toolset C:/Users/Administrator/Documents/boost_1_51_0/tools/build/v2/build\project.jam:898: in using project-config.jam:12: in modules.load C:/Users/Administrator/Documents/boost_1_51_0/tools/build/v2\build-system.jam:257: in load-config C:/Users/Administrator/Documents/boost_1_51_0/tools/build/v2\build-system.jam:423: in load-configuration-files C:/Users/Administrator/Documents/boost_1_51_0/tools/build/v2\build-system.jam:555: in load C:\Users\Administrator\Documents\boost_1_51_0\tools\build\v2/kernel\modules.jam:283: in import C:\Users\Administrator\Documents\boost_1_51_0\tools\build\v2/kernel/bootstrap.jam:142: in boost-build C:\Users\Administrator\Documents\boost_1_51_0\boost-build.jam:17: in module scope The b2 compiler is build without any problems and works, but I can't build the boost libs. Should I setup any user-config for mingw? Thanks Phil