ExtUtils-Depends 0.300 on Cygwin
- From: "Yaakov (Cygwin Ports)" <yselkowitz users sourceforge net>
- To: gtk-perl-list gnome org
- Subject: ExtUtils-Depends 0.300 on Cygwin
- Date: Sun, 30 Mar 2008 13:02:05 -0500
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
I tried today's release of EU-D 0.300, with the added support for
inter-module deps on Cygwin. Unfortunately it doesn't quite work yet
for perl-5.10.
While Cygwin's perl-5.8 used perlld for linking, which is a script that
would create an import library (libFoo.dll.a) when calling the linker,
perl-5.10 behaves exactly as on *NIX and calls gcc directly. This means
that import libraries are no longer generated. But since one can link
directly against the DLL, the fix would be to change:
cygwin => sub { 'lib' . $_[0] . '.dll.a'},
to the following:
cygwin => sub { $_[0] . '.dll'},
But when that is done, I get the following:
Unrecognized argument in LIBS ignored:
'/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Glib/Glib.dll'
Unrecognized argument in LIBS ignored:
'/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Gtk2/Gtk2.dll'
Unrecognized argument in LIBS ignored:
'/usr/lib/perl5/vendor_perl/5.10/i686-cygwin/auto/Cairo/Cairo.dll'
This comes from ExtUtils::Liblist::Kid, which doesn't seem to like a
full pathname to the DLL in LIBS. I don't follow the code there, so I'm
not sure if this would this happen on Linux as well, or not.
~From there, perhaps we can figure out if EU::Liblist::Kid needs to be
patched, or if EU::D can work around this.
Yaakov
Cygwin Ports
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFH79WdpiWmPGlmQSMRCLF1AJ9CAaz6yOvQn/7/Ytkd8GwV4YozyACguyCN
szNenDp+j/LyNkpoQRIGNLM=
=BzQa
-----END PGP SIGNATURE-----
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]