David Hláčik wrote:
Hello guys,

i want to build i386 freetype source rpm on by 64 bit Fedora 10, so i
will issue rpmbuild -ba --target i386 .... , i will usually end up
with gcc error. Do i need 32bit gcc compiler to built that?  As I know
it is not in x86_64 repository :(.

Please, how to generally build 32bit packages on 64 bit platform.
Should i use mock? Is there a simple way, when i want to build just 3
packages.

Thanks,

D.

you will need to give the command as following
rpmbuild -ba --target=i386 --define "_libdir /usr/lib" --define "_lib /lib" ~/rpmbuild/SPEC/<specfile>
also make sure you have ALL the i386 devel packages !!!


--
Toshaan <toshli...@gmail.com> - http://www.toshaan.be

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines

Reply via email to