[WBEL-users] Building RPMs for other archs
Carsten Boehlke
cb@bo-mc.de
Thu, 30 Dec 2004 11:55:59 +0100
Hi all.
I want to rebuild some RPMs on my amd64 machine for other archs (i386,
athlon).
I tried "rpmbuild --ba --target=i386 >specfile>" or "setarch i386 rpmbuild
--target=i386 --rebuild some.src.rpm"
I get a couple of errors, most "checking whether the C compiler (gcc -O2 -g
-pipe -march=i386 -mcpu=i686 ) works... no - exit" or "cc1: CPU you selected
does not support x86-64 instruction set".
Where I'm wrong?
Help needed:-)
Carsten.