On Thursday 18 January 2007 7:14 pm, Simon Perreault wrote: > Hi, > > I'm on a x86_64 setup and I want to build an RPM for i386. So I use the > following command: > > rpmbuild -ba <specfile> --target i386 > > This results in the following configure command being issued: > > ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu > --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr > --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc > --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 > --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com > --mandir=/usr/share/man --infodir=/usr/share/info --disable-static remove /etc/rpm/platform then setarch i686 rpmbuild -ba -- Dennis Gilmore, RHCE Proud Australian
Attachment:
pgp0wioC5ORTD.pgp
Description: PGP signature
-- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list