Boost logo

Boost-Build :

Subject: [Boost-build] Cross-compiling
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-09-29 12:19:41

I've checked in few patches

that intend to make cross compiling, or specifically linux->mingw cross,
just work. I have this in user-config.jam:

        using gcc : : i586-mingw32msvc-g++ ;

and I am able to go to example/libraries and do:

        bjam toolset=gcc-4.2.1 target-os=windows threading=multi

and thing work fine -- with right options passed to gcc, and right
naming of binaries. I can also build Boost.Thread with:

        bjam toolset=gcc-4.2.1 target-os=windows threading=multi threadapi=win32 --with-thread

We probably can cut down on the number of things to say on command line,
but still, it works. Of course, I still have to document things.

If somebody could give it an independent try, this would be much appreciated.

Vladimir Prus
Boost.Build V2:

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