On Tue, Mar 21, 2006 at 10:26:28PM +0100, Benoît Rouits wrote: > One month ago, i tried to port some of my libs and applications with the > mingw32 cross-compiler for debian, but i had hard times trying to > install gnuwin32 libs and also gtk+2 for windows (with gdk-win32 instead > of gdk-x11) and i eventually abandoned my porting project..
Cross compiling from sources will be the next step. However, I don't think that it would be wise to use the GnuWin32 sources for this. I'm experimenting with mingw32, dpkg-cross, etc. to produce cross compiling library packages *from Debian sources*. After long discussions which changed my mind 180° forth and back :-) I'm now thinking that this is the correct way to go. I'll start to cross compile libSDL and similar libraries which aren't covered by GnuWin32. And of course I'll try not only to produce Debian packages, but also to produce GnuWin32 packages from that. GnuWin32 packages - source and binary - which have been maintained (by Debian) and cross compiles (using mingw32) completely without Windows. This sound like pure fun. :-) > BUT now that you made debian packages of gnuwin32, i will be able to port > my libs easily! thank you very much! Also, it would be a great thing, later, > to package gtk+ for windows :-) Some people have done zips of gtk DLLs for > win32 in order to port the Gimp, and it works very well. Same with SDL. However, the GnuWin32 packages have a common, nearly standardized format. The other (Gtk+, SDL, ...) provide their packages in different formats and different package layouts. It's just a lot of manual work. So compiling them from Debian sources leaves at least the opportunity to have again a standard way, instead of having to treat each package separately. Why duplicate work which has already been done by the Debian maintainers? :) > The problems is > only that the pkg-config files inthe zip are broken, but it is just a > matter of sed '' to make it work for mingw32 debian installation... Maybe you'd like to contribute some patches back to GnuWin32. > Anyway.. i hope official debian maintainer will integrate gnuw32 in the > mingw32 package and also gtk-win32.. Sorry, this will surely never happen. They simply don't belong into this package. It's a cross compiler. I think it would make more sense to get the libraries into Debian as separate packages. And even this won't happen, because Debian doesn't support cross compiling binary packages. So one should either build them using dpkg-cross, or using my "gnuwin32-lib2deb" tool, or using an inofficial APT repository, such as mine. :-) Of course, any contributions are welcome. If there are more people interested in a "Debian-win32" repository, for cross compiling packages based on mingw32, maybe I'd also register an own Domain for that project. Greets, Volker -- Volker Grabsch ---<<(())>>--- Administrator NotJustHosting GbR ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ GnuWin32-Users mailing list GnuWin32-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gnuwin32-users