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:
> libs\thread\src\win32\thread.cpp:13:21: fatal error: process.h: No such file
> compilation terminated.
> It appears to be related to the lack of a process.h header.
> Any ideas?
> Many thanks
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 ...
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