Boost logo

Boost-Build :

From: Andreas Huber (ahd6974-spamgroupstrap_at_[hidden])
Date: 2004-11-07 18:13:39


Let me first say that bjam *rocks*. With an investment of just half a
day I got to a point where most of what I wanted to do works. However, I
was unable to find answers to the following questions (see Jamfile
attached):

1. Is there any way to "abstract away" <lib>/<dll>? For example, to
specify the Boost.Thread library as a dependency I had to add
<dll>../../thread/build/boost_thread to the sources. On Windows, the
static library variant doesn't exist so adding <lib>.. to the sources
leads to an error. This is ok, but I need to know/specify more than
absolutely necessary. It would be nice to just say that a target depends
on the thread library and the build system then figures out by itself
whether the static or the dynamic variant should be used (maybe through
a preference the user specifies on the command line).

2. In boost::fsm all state classes contain virtual member functions but
have non-virtual destructors. GCC rightly issues a warning on this,
the gcc toolset and all its extensions (AFAICT, there are currently 5)?
Someday someone will add another extension and the warnings that are
disabled for the already existing extensions will appear for the new
extension until my Jamfile is adapted.

3. In 1.31 the vc7.1 toolset seems to be broken wrt single-threaded
builds. When one tries to build with <threading>single the .cpp files
are not built with /ML (single-threaded) but with /MD (multi-threaded).
Is this a known issue?

4. I'm currently compiling PingPong.cpp twice with different target
names. This is due to the fact that the single-threaded exe target does
not depend on the threads dll while the multi-threaded target does. This
is somewhat inconvenient and I would rather like to say that
PingPong.exe is only dependent on the threads dll in multi-threaded
builds. Is there any way to do that?

Thanks & Regards,

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap 
from the address shown in the header. 
 ------=_NextPart_000_0014_01C4C527.CC1A0430 Content-Type: application/octet-stream;
name="Jamfile"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Jamfile"
[Attachment content not displayed.] ------=_NextPart_000_0014_01C4C527.CC1A0430-- 

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