Boost logo

Boost-Build :

From: Edward Diener (eldiener_at_[hidden])
Date: 2020-04-06 13:55:15


For the Embarcadero toolset on Windows the static library and import
library suffix for the bcc64 64-bit compiler is '.a' and not '.lib'.
However if the library is a system library such as the Windows system
library advapi, the suffix is naturally '.lib'. In embarcadero.jam I have:

type.set-generated-target-suffix STATIC_LIB : <toolset>embarcadero
<target-os>windows <address-model>64 : a ;
type.set-generated-target-suffix IMPORT_LIB : <toolset>embarcadero
<target-os>windows <address-model>64 : a ;

but this means, for example, that advapi.a, which of course does not
exist, is added to the linker command rather than the correct advapi.lib
when advapi is specified in some jam file. How can I fix this ?

Is advapi a SEARCHED_LIB, and should specifying:

type.set-generated-target-suffix SEARCHED_LIB : <toolset>embarcadero
<target-os>windows <address-model>64 : lib ;

solve this problem, or must I do something else to distinguish
static/import libraries which are system libraries from other libraries
produced by the bcc64 compiler in Boost Build ?


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