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

Re: rpmbuild for PPC sticks libs in /usr/lib64



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
--root option. Simply using --target and even -m32 is not enough, the
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.

f2c, for example, won't build at all in 64-bit mode. Building with --target ppc builds the 32-bit version, but sticks the libs in the wrong place.

So I guess my real question is: how does this whole multilib thing go together?

--
		Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs


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