Web lists-archives.com

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




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 16/06/16 15:59, sisyphus1@xxxxxxxxxxxxxxx wrote:
> From: RAPPAZ Francois Sent: Thursday, June 16, 2016 11:26 PM
>> Since straweberry perl and msys2 are based on mingw, I tried to 
>> post my question here. Sorry if I'm off topic.
> 
> I think it probably *is* OT here.

It is; neither strawberry perl nor msys2 is formally supported here.

> Oh ... one more thing (and it might be important) is that with 
> windows perl '-lfoo' will (I think) enable linking to libfoo.a,
> but *not* to libfoo.dll.a.

That statement smells fishy, because it suggests behaviour which is
the exact opposite of the GNU linker's default; unless you explicitly
pass:

  ... -Wl,-Bstatic -lfoo ...

through the GNU compiler driver, then as it searches in each library
directory, the GNU linker will first look for libfoo.dll.a, and only
if it isn't found, will it go on to look for libfoo.a.  It is
precisely this arrangement that allows you to have both an import
library called libfoo.dll.a, and a static library called libfoo.a in
the same library directory, and choose between dynamic linking (by
default), or static linking (by virtue of -Bstatic causing
libfoo.dll.a to be ignored), when you invoke the linker.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJXYsa9AAoJEMCtNsY0flo/eOYP/A00Jv+7O7mdd14+jGxmCbaU
a0WKTGphCoSRFTfc/sTpeVtv7fUlFerpgG+l9Qpt6ZNyWBeAZ3dImrjyPX6LPgIL
NpShOp+9WuvZf0vZ2XlFWH+OOE3z1LdSZstQ62zbm3oiW+LfkLeoo4TpQLtxQR+J
0HD3zMzpEc+4lTckvpY+IAmscYBlVxueqXKNMqj+58D+oTRRiYJCHVhAxo2DTmNe
WcnyVSdZcv+DYhj0zpV8PmD9LXOVej09XBmycuKA6EV1K95xU5pqGd7IhVDq/MQM
TOeFGgTzFJHMVSeBH7ymZ1CsxaxqCWmhcitLX/Yhf0qrZISjAowxd58/2dldLo0Z
VE3Ruj2qdhPtYvTrEkRcqfT54UI9oNXYv9GGUElrDFoHmT38E+UfM1/w8SYDmUoh
fViD7IOS9Xo582hrK1zasySpXFS7/nHXvXGv/3GnDJRIkrK0MTBp05O6fUky6rlC
7g3UuPOSm9vl7WyzhBrbwYXARAHzcE+SVH75bYb0BRLu7wRLQsdhdlBZC2Tbri3u
yEqL/cm9JhfenXevBBV8Wi1WeLIIM4o/bUKCCdIt6wB5Nyz5KuKkJnnY3QLzi7Qz
f1NJlDCbu1lSl9HUiCNGSaFBFUFMsMdHCvTzXqziyxZWiPfiuqgFbfvBINxb3GWN
H4wGP0Biu+SxA5TX2lYF
=s+mp
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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://pubads.g.doubleclick.net/gampad/clk?id=1444514421&iu=/41014381
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at 
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe