How to package code compiled with 'gcc -m32'?

Jeremy Katz katzj at redhat.com
Tue Oct 7 15:12:09 UTC 2008


On Tue, 2008-10-07 at 14:35 +0100, Richard W.M. Jones wrote:
> I've got a nasty program I'm trying to package for Fedora.  To cut a
> very long story short, this C/C++ mixed program started out on Windows
> and makes lots of 32 bit assumptions.  So it's compiled with 'gcc -m32'.
> 
> Expressing the build requirements so it can build on a 64 bit platform
> is proving troublesome.  (It builds fine on i386).

In general, for these situations the right answer is to ExcludeArch and
file the appropriate tracking bugs rather than trying to do 32-bit
builds on a 64-bit arch.  The latter is only done in a few special cases
(bootloaders mainly) which don't have any external deps

Jeremy




More information about the fedora-devel-list mailing list