Boost logo

Boost :

From: Harald Haspl (harald.haspl_at_[hidden])
Date: 2004-12-09 04:21:47


On Tuesday 07 December 2004 18:45, Rene Rivera wrote:
> Harald Haspl wrote:
> > How can I replace the -lrt linker flags by -lrealtime when compiling the
> > boost library?
> Educated guess, since you don't say much, you are using Boost 1.31 or
> 1.32 with the gcc toolset on an OS which is not BeOS, Darwin, BSD, IRIX,
> nor HPUX, but it could be SunOS or Linux :-)

It is Boost 1.31 on Linux and gcc.

In fact the question concerned the handling of the jam-build system.

> With that in mind... Edit boost-root/tools/build/v1/gcc-tools.jam and
> add a case for your OS in the switch around lines 106-153 before the
> "case *". There are other examples of OSes that don't use -lrt, with
> comments, so it should be obvious what to do ;-)

I've edited this file and now it works the way I like :-)
Oh, and I have found some useful documentation about the Jam-system
in this directory.

thank you,
Harald.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk