Mailinglist Archive: opensuse-programming (84 mails)

< Previous Next >
Re: [suse-programming-e] Rebuilding old source rpm packages on x86_64
  • From: Michael Stevens <Michael.Stevens@xxxxxxxx>
  • Date: Thu, 19 Aug 2004 21:35:32 +0200
  • Message-id: <200408192135.32725.Michael.Stevens@xxxxxxxx>
On Thursday 19 August 2004 19:26, James Oakley wrote:
> On Wednesday 18 August 2004 11:24 am, Michael Stevens wrote:
> ...
> > The i586 binary is particularly hard. It seems that:
> > a) You cannot simply use a binary rpm built on a 32bit version of
> > SuSE9.1. b) When building on x86_64 machine I need to change the
> > metadata. At the very least I need to pass '-m32' to gcc.
>
> Try adding "--target=i586-linux" to your rpmbuild command. The CFLAGS
> should be set appropriately.
Thanls for the tip. I will work on that basis.

Michael

< Previous Next >