Development machine setup for both i386 and x86_64 work
Dominik 'Rathann' Mierzejewski
dominik at greysector.net
Fri Dec 22 11:03:16 UTC 2006
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.
>
> 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.
--
Fedora Extras contributor http://fedoraproject.org/wiki/DominikMierzejewski
Livna contributor http://rpm.livna.org MPlayer developer http://mplayerhq.hu
"Faith manages."
-- Delenn to Lennier in Babylon 5:"Confessions and Lamentations"
More information about the fedora-devel-list
mailing list