Boost logo

Boost-Build :

Subject: [Boost-build] Broken MinGW check
From: Jeroen Vermeulen (jtv_at_[hidden])
Date: 2015-04-10 02:12:08

I tried building a boost-based project on MinGW a while back, and hit a
few problems. These were also present upstream, so here they are, in
case they're of use:

The first was that jam.h checks for a preprocessor macro "MINGW", but it
should be checking for "__MINGW32__".

Next, and this is digging a further down into memory, the MinGW support
code seemed to assume that Cygwin was present as well. In particular,
the "ar" code didn't compile without a Unix-like environment. In my
case I got around that by removing that code altogether — it wasn't
being used.


Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at