Boost logo

Boost-Build :

Subject: Re: [Boost-build] Thread not compiling under Windows to ARM Linux Cross-Compile using CodeSourcery GNU GCC
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2011-10-03 19:28:54


Le 04/10/11 01:01, Alistair Lowe a écrit :
> Hi guys,
>
>
> I'm now able to build most of the boost library in the above cross-compile
> configuration but I still receive the following errors preventing me from
> building the thread library:
>
>
> gcc.compile.c++
> bin.v2\libs\thread\build\gcc-arm\release\target-os-linux\threadi
> ng-multi\win32\thread.o
> libs\thread\src\win32\thread.cpp:13:21: fatal error: process.h: No such file
> or
> directory
> compilation terminated.
>
> <snip>
>
> It appears to be related to the lack of a process.h header.
>
> Any ideas?
>
> Many thanks
> Alistair
>
>
Boost.thread is deducing the build platform is Windows so it tries to
use the windows includes. I don't know if you should be able to force
the Posix build using the threadapi build feature.

bjam threapapi=pthread ...

Best
Vicente


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