Boost logo

Boost-Build :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2005-06-06 16:01:09

Hi Andrew

> Hello,
> I am struggling to get a version of
> boost jam built for mingw.
> build.bat gcc-nocygwin produces

Have you read ?

Did you see that there is a mingw toolset?

> an executable that doesnt quite work,
> due to DOS-like filenames given to
> commands when creating dirs and lib archives.
> This seems to be the executable that is floating
> around the net under the banner of a boost jam
> that is built for mingw.
> The trouble seems to be that mingw is neither NT,
> nor is it POSIX-y enough for the POSIX files
> (fileunix.c etc) to be used.
> In desperation I hacked jam.h to force
> NT on and tried to build from mys
> with the command " cc", with
> CC set to gcc. This gets me slightly further
> but fails with a very weird error:-
> rm. clean
> Invalid switch - "yyacc.exe".
> Any ideas?

Unless you want to do something *really* unusual (like compiling boost
under mingw with the MSVC6.0 standard lib ;-)) you should not need to
hack anything. Assuming that bjam is in the path and that your mingw
distro is under "C:\ProgramFiles\MinGW3.2.0" the following command line
from within the boost root should work:

bjam "-sTOOLS=mingw"
"-sMINGW_ROOT_DIRECTORY=C:\ProgramFiles\MinGW3.2.0" -a




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