[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] [corountine2/context] forced_unwind exception on Windows with TDM-GCC
From:       Hao Jiang via Boost-users <boost-users () lists ! boost ! org>
Date:       2018-12-15 9:13:14
Message-ID: DM3PR14MB071927711CB1617AD23359FBC3A20 () DM3PR14MB0719 ! namprd14 ! prod ! outlook ! com
[Download RAW message or body]

Quite the whole project is built upon gcc, keep it portable among Windows, Linux and \
anther devices.


From: degski<mailto:degski@gmail.com>
Sent: 2018年12月15日 14:41
Subject: Re: [Boost-users] [corountine2/context] forced_unwind exception on Windows \
with TDM-GCC

On 14/12/2018, Hao Jiang via Boost-users <boost-users@lists.boost.org> wrote:
> Hello all,
> 
> I am porting my program from Linux to Windows with boost coroutine2.

Why don't you use MSVC or Clang/LLVM then [to do that]?

> Platform: windows 7 64 bit
> Boost: 1.67/1.69
> Compiler: TDM-GCC 5.1 64bit.

Iff you must go the MinGW(64) route, the tool chain you chose is not
very up-to-date [could cause your problem?] and support/dev seems to
have stopped.

I suggest you give https://nuwen.net/ a spin, it is very complete
[includes a.o. boost pre-built [for Haswell, last time I looked]].

What's also quite good [and very up-to-date, weekly builds] is
http://www.equation.com/servlet/equation.cmd?fa=fortran , it includes
gfortran [handy for building OpenBlas in case you need that, or
download MKL from Intel instead].

Then there is this tool-chain
https://sourceforge.net/projects/mingw-w64/files/Multilib%20Toolchains%28Targetting%20Win32%20and%20Win64%29/ray_linn/gcc-8.x-with-ada/
 , you can use it to build 32 and 64 bit binaries [includes fortran and
ada]. This tool chain has a problem with it's C++ library [thread]
headers, though. For the latter problem a [mostly] complete fix is the
be found here: https://github.com/meganz/mingw-std-threads .

degski
--
*“If something cannot go on forever, it will stop" - Herbert Stein*


[Attachment #3 (text/html)]

<html xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:SimSun;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:DengXian;
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"\@DengXian";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
	{font-family:"\@SimSun";
	panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:DengXian;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang="ZH-CN" link="blue" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Quite the whole project is built upon gcc, \
keep it portable among Windows, Linux and anther devices. </span><span lang="EN-US" \
style="font-size:12.0pt"><o:p></o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US"><o:p>&nbsp;</o:p></span></p> <p class="MsoNormal"><span \
lang="EN-US"><o:p>&nbsp;</o:p></span></p> <div \
style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 \
1.0pt;padding:3.0pt 0cm 0cm 0cm"> <p class="MsoNormal" \
style="border:none;padding:0cm"><b><span lang="EN-US">From: </span> </b><span \
lang="EN-US"><a href="mailto:degski@gmail.com">degski</a><br> <b>Sent: \
</b>2018</span>年<span lang="EN-US">12</span>月<span \
lang="EN-US">15</span>日<span lang="EN-US"> 14:41<br> <b>Subject: </b>Re: \
[Boost-users] [corountine2/context] forced_unwind exception on Windows with \
TDM-GCC</span></p> </div>
<p class="MsoNormal"><span lang="EN-US" \
style="font-size:12.0pt;font-family:SimSun"><o:p>&nbsp;</o:p></span></p> <p \
class="MsoNormal"><span lang="EN-US">On 14/12/2018, Hao Jiang via Boost-users \
&lt;boost-users@lists.boost.org&gt; wrote:<br> &gt; Hello all,<br>
&gt;<br>
&gt; I am porting my program from Linux to Windows with boost coroutine2.<br>
<br>
Why don't you use MSVC or Clang/LLVM then [to do that]?<br>
<br>
&gt; Platform: windows 7 64 bit<br>
&gt; Boost: 1.67/1.69<br>
&gt; Compiler: TDM-GCC 5.1 64bit.<br>
<br>
Iff you must go the MinGW(64) route, the tool chain you chose is not<br>
very up-to-date [could cause your problem?] and support/dev seems to<br>
have stopped.<br>
<br>
I suggest you give <a href="https://nuwen.net/">https://nuwen.net/</a> a spin, it is \
very complete<br> [includes a.o. boost pre-built [for Haswell, last time I \
looked]].<br> <br>
What's also quite good [and very up-to-date, weekly builds] is<br>
<a href="http://www.equation.com/servlet/equation.cmd?fa=fortran">http://www.equation.com/servlet/equation.cmd?fa=fortran</a> \
, it includes<br> gfortran [handy for building OpenBlas in case you need that, or<br>
download MKL from Intel instead].<br>
<br>
Then there is this tool-chain<br>
<a href="https://sourceforge.net/projects/mingw-w64/files/Multilib%20Toolchains%28Targ \
etting%20Win32%20and%20Win64%29/ray_linn/gcc-8.x-with-ada/">https://sourceforge.net/pr \
ojects/mingw-w64/files/Multilib%20Toolchains%28Targetting%20Win32%20and%20Win64%29/ray_linn/gcc-8.x-with-ada/</a><br>
 , you can use it to build 32 and 64 bit binaries [includes fortran and<br>
ada]. This tool chain has a problem with it's C&#43;&#43; library [thread]<br>
headers, though. For the latter problem a [mostly] complete fix is the<br>
be found here: <a href="https://github.com/meganz/mingw-std-threads">https://github.com/meganz/mingw-std-threads</a> \
.<br> <br>
degski<br>
-- <br>
*“If something cannot go on forever, it will stop&quot; - Herbert \
Stein*</span></p> <p class="MsoNormal"><span lang="EN-US" \
style="font-size:12.0pt;font-family:SimSun"><o:p>&nbsp;</o:p></span></p> </div>
</body>
</html>



_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

--===============6299413197486586066==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic