Re: Compiling a i386 kernel on a x64 system.

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

 





On Sun, Nov 15, 2009 at 1:56 AM, Michael D. Setzer II <mikes@xxxxxxxxxxxxxxxx> wrote:
On 14 Nov 2009 at 11:31, Paulo Cavalcanti wrote:

Date sent:      Sat, 14 Nov 2009 11:31:02 -0200
From:   Paulo Cavalcanti <promac@xxxxxxxxx>
To:     "Community assistance, encouragement,
       and advice for using Fedora." <fedora-list@xxxxxxxxxx>
Subject:        Re: Compiling a i386 kernel on a x64 system.
Send reply to:  "Community assistance, encouragement,
       and advice for using Fedora." <fedora-list@xxxxxxxxxx>
       and advice for using Fedora." <fedora-list.redhat.com>
       <mailto:fedora-list-request@xxxxxxxxxx?subject=unsubscribe>
       <mailto:fedora-list-request@xxxxxxxxxx?subject=subscribe>

>
>
>
> On Sat, Nov 14, 2009 at 10:19 AM, Michael D. Setzer II <mikes@xxxxxxxxxxxxxxxx> wrote:
>     An earlier message stated that this can be done, but it doesn't seem to work
>     on my system, so perhaps I am missing something.
>
>     I use the kernel.org source code, and copy the same .config file I use on the
>     i386 machine. If I run make menuconfig or just make, it prompts for
>     processor, and only give x86 options..
>
>     The new phenom II 955 system can build a kernel in about 12 minutes
>     versus the 2 hours of the other system, so being able to build with the new
>     system would be a real advantage.
>
>     The i386 has Fedora 10, and the x64 has Fedora 11.
>
>     Perhaps something else needs to be installed, or some option.
>
>
> Use mock. Otherwise, it will be very difficult to accomplish what you want.
> This is the simplest way of isolating your build from all of the 64 bit stuff
> installed on your system.
>

In a look at mock, it seems to be for srpms builds. I'm looking at building a
full kernel from source for use in the g4l project that I am the current
maintainer of. Mostly the kernels are on the CD to allow users to boot and do
disk imaging of the machines. The kernels can also be placed in grub and
grub4dos as well, but are actually separate from the machine they are build
on.




You can write your own kernel src.rpm.  You just need to change the source
tarball and adapt the kernel config.

Alternatively, you can open a shell to work, for instance:

mock -r fedora-10-i386 shell

--
Paulo Roma Cavalcanti
LCG - UFRJ
-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux