LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-05-2008, 10:08 PM   #1
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Rep: Reputation: 30
Understanding: Kernel "Compile"


Dear,

What does it mean by "Compile a Kernel" and "Compiled a Kernel" and "Kernel Compilation"? It is very confusing.
 
Old 03-06-2008, 12:36 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
http://www.kroah.com/lkn/
 
Old 03-06-2008, 07:21 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
The kernel is a program (software). There are two basic classes of software: compiled and interpreted. The first is compiled (translated) from a language such as C to produce the executable code. This codes runs the processor directly.

With interpreted software, the code is run by an interpreter which does the translation in real time. This is generally slower.

There are a lot of subtle variations on this simplistic explanation, so don't read it too literally.

If it's the English grammar that's confusing, "compilation" is a noun referring to the act of doing something. Also common is the "...ing" form. "compiled" is simply the past tense of "compile"
 
Old 03-07-2008, 02:20 AM   #4
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Thanks,

What does it mean by this 3 statement? What is the different between this 3 statement?

Quote:
1. Linux kernel compiling
Quote:
2. Linux kernel compilation
Quote:
3. compile the kernel
It it same of have different meaning? I read some Embedded Linux, this few statement very confuding. Please help explain.

Last edited by Paris Heng; 03-07-2008 at 02:20 AM. Reason: wrong typo
 
Old 03-07-2008, 07:21 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
"compiling" and "compilation" are both nouns referring to the process of compiling. The first form is called the "gerund".

All of these phrases are referring to the same thing.
 
Old 03-07-2008, 07:44 AM   #6
akhorus
LQ Newbie
 
Registered: Jan 2008
Location: Cordoba, Argentina
Distribution: Fedora, SuSE, Ubuntu, Mandriva
Posts: 21

Rep: Reputation: 15
Compile a kernel - Reference book

Quote:
Originally Posted by Bruce Hill View Post
Thank you very much for this reference. I was thinking I should try and compile a personalized kernel (for my PC, not my brain) and I found this... I didn't read the book yet, but it was the kind of help I was looking for.
 
Old 04-22-2008, 12:05 AM   #7
Paris Heng
Member
 
Registered: Jul 2007
Location: Kuala Lumpur, Malaysia
Distribution: Ubuntu 8.04, Solaris 10
Posts: 198

Original Poster
Rep: Reputation: 30
Compile a Kernel

Dear,

What actually the term "compile a Kernel" means? Why and when we should compile a kernel?
 
Old 04-22-2008, 01:11 AM   #8
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Merged threads asking the same question together.
 
Old 04-22-2008, 07:54 AM   #9
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
When you "compile a kernel", it is usually so that you can run a highly-customized kernel. It's not as difficult a task as some people tend to think - it's really just a (long) process of selecting items, running the automake targets, copying the new kernel into your /boot directory and lastly editing the menu of your bootloader to reference the brand-new, customized kernel.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to Compile "hello world" Kernel Module (please help!) antdengineer Programming 9 12-04-2010 04:07 AM
Lack of understanding the "grub" setup and multibooting. Orn Linux - Newbie 1 09-20-2006 10:01 AM
Install ati-drivers fails with "Failed to compile kernel module" erpe Debian 2 06-13-2006 05:09 AM
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 12:17 PM
Kernel compile problems with "mm" Hex29A Debian 2 12-31-2003 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 04:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration