Re: Build perl without libgcc_s_sjlj-1 dependency

2015-10-01 Thread sisyphus1
-Original Message- 
From: sisyph...@optusnet.com.au

Sent: Thursday, October 01, 2015 2:45 PM
To: win32-vanilla@perl.org
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 



Re: Build perl without libgcc_s_sjlj-1 dependency

2015-10-01 Thread Robert Eden

On 9/30/2015 11:45 PM, sisyph...@optusnet.com.au wrote:

Hi,

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 ?


Not sure if this will help you, but I needed a perl without dll 
dependencies (similar to activeperl) in order to use Perlpp to make 
XMLTV.EXE


I documented the procedure here: 
http://wiki.xmltv.org/index.php/XMLTVexeBuild


Robert




Re: Build perl without libgcc_s_sjlj-1 dependency

2015-10-01 Thread sisyphus1



-Original Message- 
From: Robert Eden

Sent: Friday, October 02, 2015 3:04 AM
To: win32-vanilla@perl.org
Subject: Re: Build perl without libgcc_s_sjlj-1 dependency

I documented the procedure here: 
http://wiki.xmltv.org/index.php/XMLTVexeBuild


Thanks Robert.
It was your thread that I eventually dug up - though your wiki provides a 
more comprehensive presentation, of course.


Does anyone have any comments on "pros and cons" of building perl with these 
runtime dependencies versus having them statically linked in ?


Cheers,
Rob