Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2005-05-31 09:59:05

Hi Jordan,

> In my top level Jamfile I define the following:
> lib mylib : : <name>myfile <search>somewhere <variant>debug
> lib mylib : : <name>myfile <search>elsewhere <variant>release
> but when I run bjam (v2 m10) I get an error about not being able to
> resolve multiple definitions.

I've just tried the following Jamfile with current CVS:

lib mylib : : <name>myfile <search>somewhere <variant>debug ;
lib mylib : : <name>myfile <search>elsewhere <variant>release ;

exe a : a.cpp mylib ;

and it works as expected: bin/gcc/debug/a

"g++" -L"somewhere" -o "bin/gcc/debug/a" "bin/gcc/debug/a.o"
-lmyfile -g

I suggest you get a CVS version of Boost.Build, or a nightly build (see


Vladimir Prus
Boost.Build V2:

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at