Development machine setup for both i386 and x86_64 work

Daniel Yek dyek at real.com
Fri Dec 22 11:50:16 UTC 2006


At 03:03 AM 12/22/2006, Dominik 'Rathann' Mierzejewski wrote:
>On Friday, 22 December 2006 at 12:00, Olivier Galibert wrote:
> > On Fri, Dec 22, 2006 at 10:21:47AM +0100, Hans de Goede wrote:
> > > Building 32bit binaries under an x86_64 install is possible but not
> > > easy, the easiest is to just install FC twice, one i386 version and one
> > > x86_64 and then chroot to the i386 root under a booted x86_64 instance.
> >

Great information. Thank you all.

I'm already using the 32-bit LSB chroot Build Environment, so it appears 
that I should be able to use x86_64 OS as my main dev. machine.

Merry Christmas!


-- 
Daniel Yek


> > Works up to a point, which is uname.  uname -m still reports x86_64 in
> > the chroot, and some stupid applications use that at compile time to
> > decide what they are compiling on.  Mozilla and friends and Openoffice
> > are the ones I remember of, but there was others.
>
>Use setarch.
>
>$ uname -m
>x86_64
>$ setarch i686 uname -m
>i686
>
>Regards,
>R.




More information about the fedora-devel-list mailing list