Boost logo

Boost :

Subject: Re: [boost] Need help with bootstrap.bat
From: Mateusz Loskot (mateusz_at_[hidden])
Date: 2018-01-03 11:48:05


On 3 January 2018 at 12:43, Andrzej Krzemienski via Boost
<boost_at_[hidden]> wrote:
> 2018-01-03 11:57 GMT+01:00 Marcel Raad <Marcel.Raad_at_[hidden]>:
>
>> > -----Original Message-----
>> > From: Boost [mailto:boost-bounces_at_[hidden]] On Behalf Of Andrzej
>> > Krzemienski via Boost
>> > Sent: Mittwoch, 3. Januar 2018 11:04
>> > To: boost_at_[hidden]
>> > Cc: Andrzej Krzemienski <akrzemi1_at_[hidden]>
>> > 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk