how does one compile boost for MinGW?

Hi, I know it's stated that compiling boost for MinGW is not supported, but still, I see some online resources about this. I tried several approaches, but none of them seem to work. Is there any authorotive information on how does it really work? The approaches I tried and which all failed so far: - try to compile boost running bjam.exe from a Windows Command Prompt - try to compile boost from an MSYS prompt, going through the ./configure && make && make install process (I can provide outputs in case they are needed) Any help would be appreciated. Akos

Ákos Maróy wrote:
Hi,
I know it's stated that compiling boost for MinGW is not supported, but still, I see some online resources about this. I tried several approaches, but none of them seem to work.
Is there any authorotive information on how does it really work?
The approaches I tried and which all failed so far:
- try to compile boost running bjam.exe from a Windows Command Prompt
This should work. Where "work" means "builds some libraries". Some others, for example wide-character boost.serialization, will not build on mingw, no matter what you do. - Volodya

I know it's stated that compiling boost for MinGW is not supported, but still, I see some online resources about this. I tried several approaches, but none of them seem to work.
I've done this using MSYS with the GCC 4.1.1 compiler. From inside an MSYS terminal: ./configure --prefix=/usr/local --with-bjam=/usr/local/bin/bjam.exe \ --with-toolset=gcc --without-libraries=python make make install This worked for 1.34.0. I haven't yet done this for 1.35. This may not match your situation, but it's a data point. -Dan

Thanks for all the help. it seems I mixed up the path among all the different ports I had of the GNU toolchain on my system - now it builds fine..
participants (3)
-
Dan Thill
-
Vladimir Prus
-
Ákos Maróy