Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-01-09 10:06:56


On Monday 09 January 2006 17:39, Douglas Gregor wrote:
> On Jan 9, 2006, at 4:50 AM, Alexander Nasonov wrote:
> > Douglas Gregor wrote:
> >> On Jan 8, 2006, at 8:02 PM, Alexander Nasonov wrote:
> >>> Can we replace -openmp option with -mt option on FreeBSD?
> >>
> >> -openmp is a really weird flag to use to enable multithreading.
> >> OpenMP is *very* different from pthreads, which one would expect to
> >> use for the Boost.Thread library on FreeBSD...
> >
> > I would expect to use pthreads on linux as well. Does -openmp imply
> > pthreds on linux?
>
> -openmp implies OpenMP support, which are aren't using in Boost at
> all. It doesn't look like it implies pthreads.
> However, the Intel compiler does seem to support the (GCC) option -
> pthreads. We could probably use that, instead.

At least on intel 8.0/Linux, replacing -openmp with -pthread seem to work
fine.

- Volodya


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