Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to make binaries of boost using boost-build?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2012-11-19 08:34:45


Hi Tanya,

On 16.11.2012 13:59, Tanya wrote:
> Thank you Volodya for your answer.
>
> However, I don't use Visual C++. I use Mingw, as I wrote in my last email. Therefore I go directly to section 5.3 "Build Binaries From
> Source", and it states there that I have to use Boost-Build to build the binaries of boost:
> http://www.boost.org/doc/libs/1_52_0/more/getting_started/windows.html
>
> Anyway, I have tried your suggestion to simply use:
> bootstrap

Did that command work? Do you see "b2.exe" in root folder?

Make sure that gcc/g++ is in PATH.

> b2
> And it possibly doesn't work. There is no ".a" -or- ".dll" files as the results of simply calling bootstrap and b2.

If the answer to the above is "yes", then edit/create project-config.jam, and put:

        using gcc ;

in it. Then, build as follows:

        .\b2 toolset=gcc

> My questions are:
> 1. How to build boost binaries using Mingw in Windows XP SP3?
> 2. Should I use boost-build. If yes, where can I download the complete package of boost-build that contains bootstrap?

The build process uses Boost.Build, but there's no need to download it separately.

> 3. What are the results of the boost binaries? Are they with ".a" extension? For instance libregex.a?

The build process usually prints a message saying where the libraries are.

(And usually they are in directory called 'stage')

> 4. If I build boost binaries using MSVC++, can I still use it for my codes that will be compiled using Mingw under Eclipse IDE?

No, that will not work for C++ code.

- Volodya


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk