On Thu, Apr 06, 2006 at 11:15:39PM -0400, Matthew Saltzman wrote: > On Thu, 6 Apr 2006, Axel Thimm wrote: > > >On Wed, Apr 05, 2006 at 06:32:01PM -0400, Matthew Saltzman wrote: > >>(I've put gnumeric aside for a bit.) > >> > >>I tried to build Axel Thimm's f2c RPM for PPC using: > >> > >> rpmbuild -bb --target ppc f2c-20031026-2.el4.at.spec > >> > >>(after fixing a minor spec file issue). When it finishes building on my > >>PPC64 system, > > > >I read over the original post too quickly. If you want to build for > >ppc on ppc64 you would need to do so in a chroot using rpmbuild's > >build environment is different. > > No, not quite. What I want is to build 32-bit apps for a PPC64, i.e., the > same multilib idea as 32-bit Firefox on an x86_64. But the 32 bit firefox is built in a 32-bit environment. > f2c, for example, won't build at all in 64-bit mode. Building with > place. It builds for x86_64, so in theory it should be possible to build on ppc64, too. > So I guess my real question is: how does this whole multilib thing go > together? 32 bit packages are built on 32 bit archs (or 32 bit chroots) and simply used on 64 bits. Just try to build the package on ppc, then copy it to your ppc64 and simply install it. -- Axel.Thimm at ATrpms.net
Attachment:
pgpd1Bby3ihxp.pgp
Description: PGP signature