[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Building dual-arch RPMs



On Mon, 2006-03-06 at 21:37 +0100, Jos Vos wrote:

> Is building i386 RPMs on x86_64 (for example) supported at all?
> Won't for example several configure scripts work incorrectly anyway?

Such a build should be possible if the source package handles
the configure --target=... option intelligently, and all the header
files have appropriate conditionals, and so on.  I have only tried it
with small things entirely in C.  Unfortunately,
the original question was about a package involving perl and python
as well as C, so the above requirements are not met.  For anything
nontrivial, I guess we agree that 32-bit packages should be built
on 32-bit hosts, and the result will usually (?) work in the
32-bit subsystem of a 64-bit host.  Note that up2date or yum may
not handle the dependencies correctly, though.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]