<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=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
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;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=EN-US link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Hi All,</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I have just killed off dll-split, this means that you no longer need to maintain a list</p><p class=MsoNormal>of modules in GHC.mk.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>If you’re a non-Windows programmer you can stop reading here, for those that build on Windows:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The replacement for dll-split is called gen-dll, and it is able to automatically partition any library we build, so this issue is hopefully solved once and for all.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Currently dynamic linking is still turned off as I have a few more patches to upstream. When I do turn it on, by default you will get a large ~45min hit in compile time. This is because dlltool which BFD based is quite slow.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>To mitigate this gen-dll supports the use of the msys2 project’s genlib tool. This tool finishes in seconds instead of tens of minutes like dlltool.</p><p class=MsoNormal><o:p> </o:p></p><pre>To install it just run pacman -Sy mingw-w64-$(uname -m)-tools-git</pre><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The wiki pages have been updated accordingly already. If you install this now you won’t notice any difference in build time later.</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thanks,<br>Tamar</p><p class=MsoNormal><o:p> </o:p></p></div></body></html>