From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2008-04-14 16:31:41
"Mat Marcus" <mat-lists_at_[hidden]> writes:
> On Mon, Apr 14, 2008 at 12:57 PM, Anthony Williams
> <anthony_w.geo_at_[hidden]> wrote:
>> "Mat Marcus" <mat-lists_at_[hidden]> writes:
>> > 1) Why doesn't the build system choose the threadapi=pthread by
>> > default in my configuration? (The default seems to be win32)
>> Because you're using msvc bjam to build using cygwin gcc. Apparently this
>> build option is broken.
> This begins to sound like the boost-build options and the header file
> configuration detection options are out of sync, as Steven suggested.
OK, one more thing to try: can you set <target-os>cygwin in your
user-config.jam gcc setup?
using gcc : 4.2.0 : : <target-os>cygwin ;
The boost thread jamfile uses <target-os> to work out whether it's building
for cygwin or native win32. It appears that <target-os> is not set correctly
for you (which probably ought to be done in gcc.jam or somewhere like that),
so explicitly setting it might work.
-- Anthony Williams | Just Software Solutions Ltd Custom Software Development | http://www.justsoftwaresolutions.co.uk Registered in England, Company Number 5478976. Registered Office: 15 Carrallack Mews, St Just, Cornwall, TR19 7UL
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