On Mon, 6 Jul 2009, John Summerfield wrote: > Christoph Maser wrote: >> Am Samstag, den 04.07.2009, 14:08 +0200 schrieb carlopmart: >>> Afer some reading in fedoraproject and your suggestions, I decided to >>> use mock. But one more question: can I use a pure x86_64 host to build >>> packages for i386 and x86_64 architectures with mock ( I don't have any >>> i386 package installed on this system)?? Somebody can show me some .cfg >>> examples?? >>> >>> Thanks. >>> >> >> Yes you can use a 64bit host to build both 32 and 64bit packages with >> mock. Mock itself comes with some configs already. So have a look at >> those first. >> > > I would expect to need relevant .386 packages installed though, to have > the right headers to compile with and libraries to link with. > > If that isn't acceptable, a virtual 386 guest will work fine. > mock builds inside a chroot it creates. So you don't need the relevant files installed on the host to build inside the chroot. -sv