Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-03-12 04:29:20


Michael Hunley wrote:

> I then tried the <libraryfile> feature in my requirements
> section. That worked fine. So, is LinkLibraries deprecated (the docs did
> not mention it that I could find)?

I don't think LinkLibraries ever worked in Boost.Build.

> I had it first in my list, before my
> exe target, but in the same file. Was it supposed to go after? I liked
> LinkLibraries better than the <libraryfile> since it would do the name
> mangling for me (prefix="lib", suffix=".so" under gcc).

Hmm.. <libraryfile> indeed has this problem --- you need exact name.
V2 has different mechanism for linking with prebuilt libraries, please take a
look at the docs ("boost_build_v2.html")

lib a : : <name>a <search>/opt ;

it's supposed compiler will take care of "lib" and "a".

> The other problem I ran into revolved around use of relative paths and I
> believe my results are counter to what the documentation claims.

Alas, I'm almost useless with this issue --- I'm a bit rusty about V1. Maybe,
someone else can help. OTOH, I think it's really better to spend time on V2.

- Volodya

 


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