Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7706: cross compiling of threads library - JamFile.v2
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-05 08:25:59
#7706: cross compiling of threads library - JamFile.v2
-------------------------------+--------------------------------------------
Reporter: tvaneerd@⦠| Owner: viboes
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: thread
Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+--------------------------------------------
Comment (by viboes):
I've added the patch and a trace
{{{
if <target-os>windows in $(properties)
{
echo "************************************************************"
;
echo "windows build." ;
echo "************************************************************"
;
api = win32 ;
}
else
{
echo "************************************************************"
;
echo "pthread build." ;
echo "************************************************************"
;
}
}}}
and it doesn't works for me on MinGW. It seems the test fails always.
{{{
$ bjam2 toolset=msvc
************************************************************
pthread build.
************************************************************
************************************************************
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
************************************************************
...found 1 target...
botet_at_FRLANN0L014960 /d/boost/trunk/libs/thread/build
$ bjam2 toolset=msvc target-os=windows
************************************************************
pthread build.
************************************************************
************************************************************
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
************************************************************
...found 1 target...
botet_at_FRLANN0L014960 /d/boost/trunk/libs/thread/build
$
}}}
Do you have any idea what could be wrong?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7706#comment:5> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC