Simple Linux kernel Compilation

Source: Internet
Author: User

LSB Version: core-3.1-ia32: core-3.1-noarch: graphics-3.1-ia32: graphics-3.1-noarch
Distributor ID: RedHatEnterpriseServer
Description: Red Hat Enterprise Linux Server release 5.5 (Tikanga)
Release: 5.5
Codename: Tikanga

/Boot
[Root @ localhost boot] # ls
Config-2.6.18-194.el5 symvers-2.6.18-194.el5.gz
Grub System. map-2.6.18-194.el5
Initrd-2.6.18-194.el5.img vmlinuz-2.6.18-194.el5
Lost + found
[Root @ localhost boot] # ll-h vmlinuz-2.6.18-194.el5
-Rw-r -- 1 root 1.8 M 3? 17 2010 vmlinuz-2.6.18-194.el5

2.6.18-194. el5

Libgcc-4.1.2-48.el5
Gcc-4.1.2-48.el5
Compat-libgcc-296-2.96-138
Gcc-gfortran-4.1.2-48.el5
Gcc-c ++-4.1.2-48. el5

* Gcc * ncurses-devel (this is also required)

[Root @ localhost linux-2.6.39.4] # pwd
/Root/linux-2.6.39.4
[Root @ localhost: linux-2.6.39.4] # ls
Arch fs MAINTAINERS security
Block include Makefile sound
COPYING init mm tools
CREDITS ipc net usr
Crypto Kbuild README virt
Documentation Kconfig REPORTING-BUGS
Drivers kernel samples
Firmware lib scripts



Here I chose the simplest General setup and press Enter;






)




[Root @ localhost modules] # ls
2.6.18-194. el5 2.6.39.4

2.6.18-194. el5 2.6.39.4
[Root @ localhost modules] # cd 2.6.39.4/
[Root @ localhost 2.6.39.4] # ls
Build modules. ccwmap modules. isapnpmap modules. seriomap
Kernel modules. dep modules. ofmap modules. symbols
Modules. alias modules. ieee1394map modules. order modules. usbmap
Modules. builtin modules. inputmap modules. pcimap source
[Root @ localhost 2.6.39.4] # cd kernel/
[Root @ localhost kernel] # ls
Arch crypto drivers fs lib net sound
[Root @ localhost kernel] #

Linux localhost. localdomain 2.6.39.4 #1 SMP Tue Mar 16 21:52:43 EDT 2010 i686 i686 i386 GNU/Linux



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.