On Sun, 2009-04-19 at 18:43 -0400, Orcan Ogetbil wrote:
2009/4/19 Björn Persson:
> I'm trying to learn how to build packages for Fedora. My first question is
> about multilib development packages.
>
> I know that compiled libraries can be installed in both 32-bit and 64-bit
> versions at the same time, but is this required for -devel packages as well?
> That is, is it normal to compile both 32-bit and 64-bit programs on the same
> host, so that one needs both libwhatever-devel.i386 and
> libwhatever-devel.x86_64, or is it permissible for the two versions of
> libwhatever-devel to conflict with each other?
>
> Björn Persson
This is a dilemma we have in Fedora. I have no idea why someone would
want to keep the devel subpackages of the same package with different
archs installed.
Even adding a %doc makes these devel subpackages conflict each other.
I do wonder what is the logic laying behind.
It's required if you want to compile both x86_64 and i386 on an x86_64
machine. I do it all the time. (-m32 flag to gcc)