[Bug 599567] mingw32-gcc should not drag in pthreads.h because it's buggy

bugzilla at redhat.com bugzilla at redhat.com
Mon Oct 11 12:50:23 UTC 2010


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=599567

--- Comment #8 from Paolo Bonzini <pbonzini at redhat.com> 2010-10-11 08:50:23 EDT ---
> Having a separate '-devel' package seems wrong to me. All mingw32 packages are
> essentially '-devel' packages, which is why our packaging guidelines never
> suggest actually creating -devel packages.

If it's done "one off", it sounds wrong and it probably is.

However, if it is done for all packages, there is value in separating the files
that are deployed on a Windows machine, from those that are only needed for
development.  nsiswrapper for example will add dependent DLLs, but even that is
not enough for packages that have configuration files like mingw32-iconv or
mingw32-gtk2.  The only way to get the full list is to use rpm, but that
includes headers as well as pkg-config and libtool files.  But then, you don't
want to deploy gtk-demo.exe together with your application, so it gets brittle
quickly.

This is probably not the right place to discuss it, though.

> The 3rd option would be to try and fix pthreads.h so that it doesn't pollute
> the global namespace.

Yes, that would be nice.  Also, for the sake of completeness a fourth option is
to say "this is a fact of life" and WONTFIX.

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the mingw mailing list