Boost logo

Boost :

Subject: Re: [boost] Crosscompiling context and fiber without multithreading
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2017-01-09 12:03:35


2017-01-09 17:38 GMT+01:00 Vitaly Osipov <forum_at_osipov.mobi>:

> - Would calling a callable directly without using std::call_once be
> sufficient, since we will not use threads?
>

should be OK

> I am also not much familiar with boost configuration process, could
> you please recommend which toolchain to start with? I was trying to
> use toolset=gcc-power and setting threading=single, which worked for
> compiling serialization library. But it seems to ignore "single" for
> context and uses -pthreads flag for the gcc, which is not supported by
> our version of the compiler. I was able to get rid of -pthreads flag
> by editing gcc.jam directly, but the build still tries to use
> pthreads. May be there is a separate repository for context and fiber,
> which does not use boost configuration (though I could not find any on
> github)? Any help would be much appreciated!
>

maybe changing "<threading>multi" to "<threading>single" in the Jamfiles
might help


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