Re: Build perl without libgcc_s_sjlj-1 dependency

[email protected] Thu, 1 Oct 2015 22:19:13 +1000
Newsgroups perl.win32.vanilla
Message-ID <D812A6E1E7B247E7893E0A7841EF0247@OwnerPC311012>
-----Original Message----- 
From: [email protected]
Sent: Thursday, October 01, 2015 2:45 PM
To: [email protected]
Subject: Build perl without libgcc_s_sjlj-1 dependency

> Is there someone here who can provide info/link to building perl (using 
> mingw port of gcc) without it being dependent on libgcc_s_sjlj-1.dll, 
> libstdc++-6.dll ?

No matter - I finally (re)found:
http://www.nntp.perl.org/group/perl.win32.vanilla/2014/08/msg579.html
and followed that advice to successfully build a perl-5.16.0 that had no 
runtime dependency upon the 2 gcc dll files.

I then used that perl to build Math::Float128, and copied it across to 
ActivePerl-5.16.0.

As I expected, it made no difference and ActivePerl is still producing:

C:\_32>perl -MMath::Float128 -le "$x=Math::Float128->new('2.3');print $x;"
1.28255230868747473742425564582366e-4937

At least I've ruled out the possibility that the runtime dependency on the 2 
gcc dll's is the cause of the problem.
Must be something else.

This new mingw perl.exe has a runtime dependency on kernel32.dll, whereas 
the ActivePerl one doesn't.
And the new mingw perl516.dll has a runtime dependency on ws2_32.dll, 
whereas the ActivePerl one doesn't.

Other than that, runtime dependencies are identical, right down to the 
actual dll's that are being loaded.

I'll probably raise this on perlmonks (where it's just as off-topic as it is 
here) at some stage in the future.

Cheers,
Rob