cross compilation x86_64 <-> i386

Paulo Cavalcanti promac at gmail.com
Wed Feb 28 12:42:04 CET 2007


On 2/27/07, Philippe A. <futhark77 at gmail.com> wrote:
>
> > Hello list,
> > >
> > > This may be regarded as slightly off-topic, but I do not know a
> > > better place where to ask the question. I have installed FC6 x86_64
> > > on my new system and I am having problems compiling packages in 32
> > > bits and 64 bits. Freetype is one package I need to compile for
>
>
> Does this getcha any further?
> >
> > $ setarch i386 rpmbuild -bb --target i386 freetype.spec
>
>
> Exact same result. I even tried running commands separately:
>
> $ setarch i386
> $ rpmbuild ...
>


I would use "mock" for rebuilding rpms for other fedora
versions/architectures.
Mock is the building system used by packagers from extras, and employs
a chroot environment. It keeps a separated rpm database, and one can build
32 bits rpms in a 64 bits system.

It is slow because it downloads the build requirements of the src.rpm
before the compilation starts. There is an option for keeping whatever has
been installed before.

Just use "yum install mock" and read the documentation.

-- 
Paulo Roma Cavalcanti
LCG - UFRJ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.egwn.net/pipermail/freshrpms-list/attachments/20070228/e7dc8e60/attachment.html


More information about the freshrpms-list mailing list