Re: Development machine setup for both i386 and x86_64 work

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

 



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"

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux