Boost logo

Boost-Build :

Subject: [Boost-build] [documnetation error?] linking with a prebuilt library
From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2010-06-17 17:07:12


Dear all,

I was trying to link with a prebuilt library. But somehow the file is
not passed correctly on to the compiler. I looked at

http://www.boost.org/doc/tools/build/doc/html/bbv2/tasks/libraries.html

which states I can do something like

  lib a : : <variant>release <file>/pool/release/a.so ;
  lib a : : <variant>debug <file>/pool/debug/a.so ;

but this doesn't work. I have to say

   lib a : : <variant>release:<file>/pool/release/a.so ;
   lib a : : <variant>debug:<file>/pool/debug/a.so ;

Could this be an error in the documentation?

best regards

Thorsten


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