On 3 January 2018 at 12:43, Andrzej Krzemienski via Boost
2018-01-03 11:57 GMT+01:00 Marcel Raad
: -----Original Message----- From: Boost [mailto:boost-bounces@lists.boost.org] On Behalf Of Andrzej Krzemienski via Boost Sent: Mittwoch, 3. Januar 2018 11:04 To: boost@lists.boost.org Cc: Andrzej Krzemienski
Subject: [boost] Need help with bootstrap.bat I am trying to set up the environment for developing boost libraries, and it is my understanding that the first step (after cloning a git repository) is to build b2 itself using the script bootstrap.bat. I got this from instructions at https://github.com/boostorg/boost/wiki/Getting-Started (n.b. It was very difficult to find this page as there is no direct link from www.boost.org). I am using MinGW on Windows, no Visual Studio installed. Nonetheless bootstrap.bat concludes that it should compile with cl.exe, and it does not work. I know that MinGWis not supported, but I have to take my chances.
What I've always done when building with MinGW is using bootstrap.sh from within the MSYS shell instead of bootstrap.bat from cmd.exe. This will also get you a b2.exe.
Indeed. It works. Thanks! I will try to look for a place where this could be documented.
I don't use MinGW myself, but try bootstrap.bat help bootstrap.bat gcc or bootstrap.bat mingw Best regards, -- Mateusz Loskot, http://mateusz.loskot.net