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

Re: building i386 packages in x86_64 Fedora 10



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 <toshlinux gmail com> - http://www.toshaan.be


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