LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-06-2007, 08:41 AM   #1
sham
LQ Newbie
 
Registered: Aug 2007
Posts: 2

Rep: Reputation: 0
how to start kernel programming


hey everyone....
am interested in kernel programming....
can anyone tel me how do i start???
wat language i use and some of the things i need to already knw!!!!!

also something about GUI programming..
 
Old 08-06-2007, 08:51 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
step one) Learn to actually type out words.

As for language, it will be a combination of C and inline assembly, actually, you can also use C++ or any other compiled language in place of C, but Linux is programed in C (i assume thats what you ment). You cant escape the assembly however, the boot phase of any kernel requires that it be done in assembly, because you need to setup the CPU, a task that cant be done by using C. The design of the kernel is what will determine what general purpose language you will use, some kernels do use C++ or other languages, but they are a minority, mostly created for research.

For GUI programing, look at GTK or QT, is that what you ment?
 
Old 08-06-2007, 04:05 PM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Easiest way into kernel programming is to learn to write a kernel device driver. These can be installed as modules in a running kernel, which greatly facilitates debugging.
 
Old 08-06-2007, 05:31 PM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Try this book:
www.kroah.com/lkn/
 
Old 08-06-2007, 10:17 PM   #5
charle97
Member
 
Registered: Nov 2006
Location: hawaii, usa
Distribution: slackware 14
Posts: 80

Rep: Reputation: 16
linux kernel newbies
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Where to start with programming?? suicideducky Programming 4 09-18-2006 02:20 AM
Difference between Userland programming and Kernel Programming.. meetsagittarian Programming 1 02-20-2006 12:26 AM
Beginning Kernel Programming -- where to start? koodoo Programming 7 11-17-2005 01:08 PM
When and why did you start programming? BBB Programming 33 01-17-2005 04:29 PM
I want to start programming, need help though... Eits0 Programming 8 05-16-2002 08:46 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 08:38 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