Google
  Web www.spinics.net

RE: Building RPMs for i386

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


On Thu, 2004-12-30 at 14:38 +0100, Carsten Boehlke wrote:
> Hi.
> 
> I've tried your tip "rpmbuild --ba vsftpd.spec --target=i386"
> 
> but I get this error:
> 
> "cc1: CPU you selected does not support x86-64 instruction set"
> 
> What is my mistake?

if the rpm in question doesn't use the RPM CFLAGS but invents it's own,
then it misses the -m32 compiler option needed.
you might be able to do
CC="gcc -m32" rpmbuild .....

but at that point it's pure luck

Attachment: signature.asc
Description: This is a digitally signed message part

-- 

amd64-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/amd64-list

[Search]     [Home]     [Kernel List]     [Linux ia64]     [Linux X86_64]     [Red Hat Install]     [Red Hat Migration]     [Red Hat Development]     [Red Hat 9 Bible]     [Red Hat 9 Mailing List]     [Fedora Legacy]     [Yosemite News]