Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-03-04 09:51:54


----- Original Message -----
From: "John Maddock" <John_Maddock_at_[hidden]>

>
> >Works for me. What's missing?
>
> You're right, I've updated the jamfile to turn threading support on
for
> config_test.
>
> BTW -pthread isn't the right flag on all gcc platforms - FreeBSD uses
> -pthreads if memory serves me right, and cygwin uses -mthreads, and
some
> platforms need -lrt as well as -lpthread. Any idea how we can handle
this?

Just expand the switch-on-platform. You might notice that
mingw-tools.jam has -mthreads. That should just be moved to
gcc-tools.jam inside of if $(NT) { ... }. Feel free to check in any
changes you deem appropriate.

-Dave


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