|
Boost-Build : |
From: Jürgen Hunold (hunold+lists.Boost_at_[hidden])
Date: 2003-03-02 09:35:32
Hi !
I've tested library dependencies and the basically work. I've got my
external libx and add dependencies to it by specifiying
<dependency>@/libx/libx (test case attached, as usual ;-))
But I made an interesting observation: In my program, I need to have
three files compiled and linked _without_ optimization. I've simulated
this in the example by compiling bjam/main/liba with <optimization>off.
When I bjam --v2 bjam/main, I end up with libx recompiled _without_
optimization. Of course bjam correctly updates the "normal" libx, too.
To test this further I've added a dependency to Boost by adding a
use-project/dependency pair to bjam/main/Jamfile. Then I end up with
all boost libraries compiled with
gcc/release/stdlib-stlport/threading-multi/
and
gcc/release/optimization-off/stdlib-stlport/threading-multi/
My question is: Is this a bug or a feature ? If this is the correct
behaviour, this would mean that I end up with a specialized version of
every external library. And this would waste lots of disk space.
I've encountered several problems using <dependency>@/boost. First,
$BOOST_ROOT/Jamfile.v2 has no usage-requirements. I think there should
be at least <include>. ;-)
Second, it seems impossible to mix Jamfile and Jamfile.v2 names. I tried
to specify file-order in bjam/main/boost-build.jam using
JAMFILE = [jJ]amfile.v2 [jJ]amfile ;
but this did not work, bjam V2 is trying to use V1-Jamfiles and V2
Jamfile.v2 in boost tree in random order. I think this is a temporary
issue, but annoying none the less.
The only solution was to (re-)move all V1-Jamfiles out of the way.
The third problem is that I don't seem to have a shared python2.2
library, but I'll try to get it on monday ;-) Static linking works, of
course.
And I would like to know more on the status of the msvc-toolset.
I've tried to compile some projects during the last week, but did not
succeed. Before I post false bugs again, I'd like to have an
"inofficial" status.
Yours,
Jürgen
-- * Dipl.-Math. Jürgen Hunold ! Institut für Verkehrswesen, Eisenbahnbau * voice: ++49 511 762-2529 ! und -betrieb, Universität Hannover * fax : ++49 511 762-3001 ! Appelstrasse 9a, D-30167 Hannover * hunold_at_[hidden] ! www.ive.uni-hannover.de --Boundary-00=_0ahY+5EBSU+jUH5 Content-Type: application/x-tgz; name="bjam.tar.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="bjam.tar.gz" [Attachment content not displayed.] --Boundary-00=_0ahY+5EBSU+jUH5--
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