Boost logo

Boost-Build :

Subject: Re: [Boost-build] #7706 : cross compiling of threads library - JamFile.v2
From: Vicente J. Botet Escriba (vicente.botet_at_[hidden])
Date: 2012-12-10 17:57:18

Le 10/12/12 20:59, Jürgen Hunold a écrit :
> Hi Vicente,
> On Monday, 10. December 2012 20:31:11 Jürgen Hunold wrote:
>> Hi Vicente,
>> On Monday, 10. December 2012 08:02:06 Vicente Botet wrote:
>>> Jürgen Hunold-2 wrote
>>> So there is something wrong yet. I will try to understand better how all
>>> this work.
> Please find a (hopefully) better patch attached which combines the old
> detection with a new selection method.

I have tried it on MacOs without cross compiling and it works as before.
When I try to compile for windows I get

Trying to build Boost.Thread with pthread support.
If you need pthread you should specify the paths.
You can specify them in site-config.jam, user-config.jam
or in the environment.
For example:
PTW32_INCLUDE=C:\Program Files\ptw32\Pre-built2\include
PTW32_LIB=C:\Program Files\ptw32\Pre-built2\lib

as I have not a cross compiler installed. Until I install one, could
someone check if the patch works?

Thanks a lot,

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at