Re: MinGW cross compiled library packages for Debian
On Thu, Mar 09, 2006 at 11:21:37AM -0500, pryzbyj wrote:
> On Thu, Mar 09, 2006 at 01:36:04PM +0100, Volker Grabsch wrote:
> > Dear Debian Mentors,
> >
> > As already mentioned in my previous post, I plan to create mingw32
> > cross compile packages for zlib, SDL, etc., based on the mingw32-*
> > packages.
> > Is it possible (and desirable) to produce a "native" and a
> > "mingw32" build in parallel? I.e., from the same Debian sources?
> Yep, and it deals with some stuff very elegantly. You'll have to do
> something like:
>
> ./configure $(CONFIG_OPTIONS) --host=$(DEB_HOST_GNU_TYPE) \
> --prefix=$(CURDIR)/debian/libfoo
> make
> make install
> make clean
> ./configure $(CONFIG_OPTIONS) --host=i586-mingw32...
> --prefix=$(CURDIR)/debian/mingw32-libfoo
> make
> make install
>
> Take a look at source packages like vim which build multiple variants
> of themselves, like "vim-tiny".
I just found what I was looking for; this is referenced in DevRef
6.1.3 "Multiple binary packages":
http://www.debian.org/doc/developers-reference/ch-best-pkging-practices.en.html
Justin
Reply to: