
Juergen Hunold wrote:
Hi Ákos,
On Sunday 22 February 2009, Ákos Maróy wrote:
I'm trying to cross-compile boost using mingw32, doing the following steps:
echo "using gcc : : mingw32-g++ ;" >> user-config.jam
I did some search, and one suggestion was that the build process didn't use mingw32-ar for creating the libraries? if so, how could I make bjam use mingw32-ar instead of just ar?
The same problem here, I use the following:
using gcc : 4.2 : /usr/bin/i586-mingw32msvc-g++ : # options <rc>i586-mingw32msvc-windres <archiver>i586-mingw32msvc-ar ;
You need to explicitly state <rc>, too. Else Boost.Build will simply use the "null" fallback using an empty object file.
Is there a bug report about this in some tracker? - Volodya