Boost logo

Boost Users :

Subject: Re: [Boost-users] bjam cross compilation using mingw32 doesn't use mingw32-ar ?
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2009-02-22 12:13:29


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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net