RPM Community Forums

Mailing List Message of <rpm-users>

Re: Building a 32-bit RPM on a 64-bit machine?

From: Jeff Johnson <n3npq@mac.com>
Date: Fri 29 Oct 2010 - 16:03:59 CEST
Message-id: <BC8AA599-8A9C-47FB-8399-3FEB14ECFC48@mac.com>

On Oct 29, 2010, at 9:07 AM, Joe Flowers wrote:

> Hello again,
> 
> I would like to be able to create a 32-bit RPM (with no 64-bit library dependencies) on a 64-bit machine.
> 
> I have a 64-bit, SuSE development machine, and I would like to create an RPM on this 64-bit machine that will install 32-bit software on a 32-bit SuSE machine.
> 

SuSE does "multilib" differently than RedHat afaik. IIRC, there are 3 products
	1) ELF32 only
	2) ELF64 only
	3) multilib.
What's missing is all the needed "other persuasion" packages on 1) and 2).

So what you want is no different than setting up a cross-compiler, or
other wise setting up host <-> target infrastucture.

But its rather easy to set up whatever you need with an install into a chroot(2).
That does need root access to execute chrott(2).

73 de Jeff
Received on Fri Oct 29 16:04:18 2010
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.