Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2004-01-16 11:55:02


"u2sander" <usander_at_[hidden]> writes:

> Hi,
>
> --- In jamboost_at_[hidden], Rene Rivera <grafik.list_at_r...>
> wrote:
>> I'd suggest attempting to use the mingw toolset in Linux. Since it
> extends
> the
>> gcc toolset, and sets the -mthreads for you, it might work as is.
>>
>> You will have to copy and modify it of course. First off to prevent
> the
>> -pthread you can convince the gcc tools that it's on a windows
> platform.
> Just add:
>>
>> local NT = 1 ;
>>
>> ..before the "extends-toolset gcc" line.
>
> yeah, that worked great for the static libs. The only problem left
> are the
> shared libs, which are generated with the .so suffix and without an
> import lib.
> I have tried to understand why this happens but I have to admit that
> I have no
> idea. Does anybody know how I could force bjam to do that link phase
> like it
> does on windows?

Probably you just need to change the SUFDLL global variable to .dll

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com
 

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk