Web lists-archives.com

Re: [Mingw-users] Help with perl + pkg-config + msys2

On 6/16/2016 11:15 PM, sisyphus1@xxxxxxxxxxxxxxx wrote:
> -----Original Message----- 
> From: Keith Marshall
> Sent: Friday, June 17, 2016 1:33 AM
> To: mingw-users@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re: [Mingw-users] Help with perl + pkg-config + msys2
>>> I think it probably *is* OT here.
>> It is; neither strawberry perl nor msys2 is formally supported here.
> I don't think the Strawberry Perl mailing list formally supports msys2 
> either - but Strawberry Perl itself ships with a number of C libraries that 
> were built in the msys2 shell, so I think that leaves the door a little open 
> for some msys-related questions.

Keith's point is that MinGW.org doesn't distribute MSYS2; we distribute

> The problem is that when ExtUtils::MakeMaker writes the Makefile for the 
> compilation (during 'perl Makefile.PL' step) it will check whether libfoo.a 
> is locatable, but not whether libfoo.dll.a is locatable.
> If libfoo.a cannot be located then the '-lfoo' will not appear in the 
> generated Makefile - and any symbols resolved by libfoo.dll.a will remain 
> unresolved.
> ExtUtils::MakeMaker *should* really also check for the presence of 
> libfoo.dll.a and remove the '-lfoo' link that the user supplied iff 
> libfoo.dll.a is also un-locatable .... and perhaps recent versions of 
> ExtUtils::MakeMaker do that. (I don't think they do, but I haven't checked 
> in a while.)

The binutils ld will also search for foo.dll and other files when -lfoo
is specified. See the "direct linking to a dll" section of


What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
MinGW-users mailing list

This list observes the Etiquette found at 
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe