Boost logo

Boost-Build :

From: David Abrahams (gclbb-jamboost_at_[hidden])
Date: 2003-05-27 18:21:46


Vladimir Prus <ghost_at_[hidden]> writes:

> Hi Wieger,
>
>> I'm trying to link a prebuilt library with Boost.Build v2, but I
>> cannot get it to work. The error message I get is:
>>
>> /cygdrive/d/cpp/boost-build/new/prebuilt.jam:28: in object(prebuilt-
>> file-generator)@1.run from module object(prebuilt-file-generator)@1
>> error: Unknown type for prebuilt target bdd in Jamfile<../lib/lib1>
>>
>> Can someone tell me what I do wrong, or instead show me a working
>> example of how to link a prebuilt library?
>
> I think V2 thinks that on Cygwin, libraries can have '.lib' suffix, but not
> '.a'. Could you go to builtn.jam, find the line
>
> declare-type NT CYGWIN : STATIC_LIB : lib : LIB : main ;
>
> (around line 233 in my copy), change it to
>
> declare-type NT CYGWIN : STATIC_LIB : lib a : LIB : main ;

I think that ought to be:

declare-type NT : STATIC_LIB : lib a : LIB : main ;
declare-type CYGWIN : STATIC_LIB : a lib : LIB : main ;

Right?

-- 
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