<br><br><div class="gmail_quote">On Sun, Nov 15, 2009 at 1:56 AM, Michael D. Setzer II <span dir="ltr"><<a href="mailto:mikes@kuentos.guam.net">mikes@kuentos.guam.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 14 Nov 2009 at 11:31, Paulo Cavalcanti wrote:<br>
<br>
Date sent:      Sat, 14 Nov 2009 11:31:02 -0200<br>
From:   Paulo Cavalcanti <<a href="mailto:promac@gmail.com">promac@gmail.com</a>><br>
To:     "Community assistance, encouragement,<br>
        and advice for using Fedora." <<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>><br>
Subject:        Re: Compiling a i386 kernel on a x64 system.<br>
Send reply to:  "Community assistance, encouragement,<br>
        and advice for using Fedora." <<a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a>><br>
        and advice for using Fedora." <<a href="http://fedora-list.redhat.com" target="_blank">fedora-list.redhat.com</a>><br>
        <mailto:<a href="mailto:fedora-list-request@redhat.com">fedora-list-request@redhat.com</a>?subject=unsubscribe><br>
        <mailto:<a href="mailto:fedora-list-request@redhat.com">fedora-list-request@redhat.com</a>?subject=subscribe><br>
<div><div></div><div class="h5"><br>
><br>
><br>
><br>
> On Sat, Nov 14, 2009 at 10:19 AM, Michael D. Setzer II <<a href="mailto:mikes@kuentos.guam.net">mikes@kuentos.guam.net</a>> wrote:<br>
>     An earlier message stated that this can be done, but it doesn't seem to work<br>
>     on my system, so perhaps I am missing something.<br>
><br>
>     I use the <a href="http://kernel.org" target="_blank">kernel.org</a> source code, and copy the same .config file I use on the<br>
>     i386 machine. If I run make menuconfig or just make, it prompts for<br>
>     processor, and only give x86 options..<br>
><br>
>     The new phenom II 955 system can build a kernel in about 12 minutes<br>
>     versus the 2 hours of the other system, so being able to build with the new<br>
>     system would be a real advantage.<br>
><br>
>     The i386 has Fedora 10, and the x64 has Fedora 11.<br>
><br>
>     Perhaps something else needs to be installed, or some option.<br>
><br>
><br>
> Use mock. Otherwise, it will be very difficult to accomplish what you want.<br>
> This is the simplest way of isolating your build from all of the 64 bit stuff<br>
> installed on your system.<br>
><br>
<br>
</div></div>In a look at mock, it seems to be for srpms builds. I'm looking at building a<br>
full kernel from source for use in the g4l project that I am the current<br>
maintainer of. Mostly the kernels are on the CD to allow users to boot and do<br>
disk imaging of the machines. The kernels can also be placed in grub and<br>
grub4dos as well, but are actually separate from the machine they are build<br>
on.<br>
<div class="im"><br>
<br></div></blockquote><div><br><br>You can write your own kernel src.rpm.  You just need to change the source<br>tarball and adapt the kernel config.<br><br>Alternatively, you can open a shell to work, for instance:<br>
</div></div><br>mock -r fedora-10-i386 shell<br clear="all"><br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ<br>