Subject: [Boost-bugs] [Boost C++ Libraries] #6743: problem crossbuilding windows binary on linux
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-03-29 16:36:48
#6743: problem crossbuilding windows binary on linux
--------------------------------------------------+-------------------------
Reporter: Michal Suchanek <hramrach@â¦> | Type: Bugs
Status: new | Milestone: To Be Determined
Component: Building Boost | Version: Boost 1.49.0
Severity: Problem | Keywords:
--------------------------------------------------+-------------------------
Hello,
I tried to download and build boost with mingw on Debian.
I added
using gcc : : i686-w64-mingw32-c++ ;
in project-config.jam
However, the compiler flag used is -pthread instead of -mthreads. I
changed ./tools/build/v2/tools/gcc.jam to use the correct flag in the
default case but still gcc warns about -fPIC.
Also many files fail to compile because they are searching for pthread.h
which is not present.
I guess the problem here is that the jam script does not infer that when
using mingw the target is windows.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6743> 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:09 UTC