Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2009-01-18 Thread Torsten Schoenfeld
Ari Jolma wrote: 1. Patch lib/ExtUtils/Liblist/Kid.pm with the attached patch (the patch needs to be offered to guys maintaining ExtUtils::MakeMaker I guess) 2. When building Glib and Cairo, there are the extra steps before make install: using spicy jack's method: dlltool --input-def Glib.de

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-10-08 Thread spicy jack
Apologies, I just realized I hit 'reply' instead of 'reply to all' for the below. A month late :/ 2008/9/10 Ari Jolma <[EMAIL PROTECTED]>: > Brian, you wrote that you have been able to abstract the above and add it to > the Makefile.PL. How exactly? However, I think this should/could be > correct

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-09-10 Thread Ari Jolma
Torsten Schoenfeld kirjoitti: Elegance shouldn't be the primary concern. If you have a patch that makes linking work on MinGW, just post it. Somehow this detection should be propagated to EU::LibList::Kid to look for import libraries "lib.dll.a" -- or the Makefile.PL's may also alter the li

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-09-06 Thread Torsten Schoenfeld
Ari Jolma wrote: > EU::Depends::find_extra_libs assumes now that when OS is MSWin32, the > (import) library extension is ".lib". When MinGW is used, the extension is > usually .dll.a (MinGW could also happily use the actual .dll, but > EU::LibList::Kid does not allow that currently). Thus a (par

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-08-27 Thread rahed
Ari Jolma <[EMAIL PROTECTED]> writes: > EU::Depends::find_extra_libs assumes now that when OS is MSWin32, the > (import) library extension is ".lib". When MinGW is used, the > extension is usually .dll.a (MinGW could also happily use the actual > .dll, but EU::LibList::Kid does not allow that curr

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-08-18 Thread Ari Jolma
Torsten Schoenfeld kirjoitti: Ari Jolma wrote: My approach works but all this feels as a mixture between MS compilers and cygwin, I'm not sure what should be fixed - at least I'd like to change Glib et al Makefile.PL's so that I didn't need to hand-edit Makefile. I don't have any expe

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-08-17 Thread Torsten Schoenfeld
Ari Jolma wrote: > My approach works but all this feels as a mixture between MS compilers > and cygwin, I'm not sure what should be fixed - at least I'd like to > change Glib et al Makefile.PL's so that I didn't need to hand-edit > Makefile. I don't have any experience with MinGW, so I can't help

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-08-10 Thread Ari Jolma
Torsten Schoenfeld kirjoitti: spicy jack wrote: I've been working on getting the Gtk2-Perl stack to compile under MSWin32 without as much pain as there is now. Windows has something called 'import libraries' [1], which currently I have to create by hand when I compile Cairo and Glib in order

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-08-03 Thread Torsten Schoenfeld
spicy jack wrote: > I've been working on getting the Gtk2-Perl stack to compile under > MSWin32 without as much pain as there is now. Windows has something > called 'import libraries' [1], which currently I have to create by > hand when I compile Cairo and Glib in order to get Gtk2 to compile. I

Re: Fun with ExtUtils::MakeMaker and Windows import libraries

2008-07-22 Thread Paul Miller
On Tue, Jul 22, 2008 at 4:00 AM, spicy jack <[EMAIL PROTECTED]> wrote: > Can someone think of a better way to do this? Is this not worth > pursuing at all because? Too much hassle? Oh god, this needs doing so bad I'd chip in if you had a paypal link. I don't know the correct method, and I don't

Fun with ExtUtils::MakeMaker and Windows import libraries

2008-07-22 Thread spicy jack
I've been working on getting the Gtk2-Perl stack to compile under MSWin32 without as much pain as there is now. Windows has something called 'import libraries' [1], which currently I have to create by hand when I compile Cairo and Glib in order to get Gtk2 to compile. I create these import librar