LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 07-22-2009, 06:47 PM   #1
mohamadaliakbari
LQ Newbie
 
Registered: Jul 2009
Posts: 1

Rep: Reputation: 0
Question add lines to kernel source


How can i add lines to appropriate files in kernel source and compiling
kernel, so that during extraction of zipped kernel image, it prints
hello world?
 
Old 07-22-2009, 07:55 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
See chapter 2 "Hello World" from the The Linux Kernel Module Programming Guide: http://www.faqs.org/docs/kernel/index.html ?
 
  


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
LXer: Kernel log: More than 10 million lines of Linux source files LXer Syndicated Linux News 0 10-22-2008 09:20 PM
Trying to install Wine but can't seem to add lines to source.list Spec4 Linux - Software 5 01-08-2007 03:25 AM
How to add kernel module to kernel source? cranium2004 Programming 7 05-12-2005 10:34 PM
How do I add to kernel source tree? MarkusMan Linux - General 1 02-02-2004 10:44 AM
how can i add the kernel source kudos Slackware 9 04-16-2003 11:42 PM

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

All times are GMT -5. The time now is 03:21 AM.

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