|
Boost-Build : |
Subject: Re: [Boost-build] "ld returned 1 exit status" compiling boost thread with mingw-w64 "x64-4.8.1-posix-seh-rev5"
From: ken han (j609444_at_[hidden])
Date: 2013-10-11 14:22:06
On Fri, Oct 11, 2013 at 9:20 AM, ken han <j609444_at_[hidden]> wrote:
> On Fri, Oct 11, 2013 at 4:16 AM, Vladimir Prus <ghost_at_[hidden]> wrote:
>
>> Try running this command by hand, on the command line? If no further
>> diagnostics is provided by gcc, I am not sure what we can do.
>>
>> I found https://svn.boost.org/trac/boost/ticket/4849 and it seems to be
> similar, although I get two link errors in a run rather then just one. So I
> added "define=BOOST_USE_WINDOWS_H" to the list of b2 command line
> parameters (is that where it goes? does it need -- before it?), but that
> did not change any thing. Should I try one of the patches listed there? And
> how do I do that?
>
I figured out to apply this patch to /boost_1_54_0/detail/iterlocked.hpp.
Preliminary run seems to indicate that boost.thread now compiles. Thank-you.
> How do I tell if this is using with posix or windows threads?
>
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