Re: building i386 packages in x86_64 Fedora 10

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

 



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@xxxxxxxxx> - http://www.toshaan.be

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

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux