Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux HostsFree MagazinesJobs
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > The Linux Kernel
Reload this Page Any faster way to compile the kernel?
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

The Linux Kernel Compiling, theory, programming or other discussion about the linux kernel

Reply
 
Thread Tools Display Modes
Old 12-24-2005   #1 (permalink)
Just Joined!
 
Join Date: Dec 2005
Posts: 1
Smile Any faster way to compile the kernel?

Hi,

I am new to linux kernel and now doing some modifications to arch/i386/kernel/entry.S. The basic idea is to add some jump instructions which will jump to my trap functions defined in foo.c at the same directory.

I know the most straight forward way to compile the kernel is (I am using Fedora Core 3):
make mrproper
make menuconfig (or make oldconfig)
make
make install
make modules_install

Since my test machine is really slow (it's a PII 333 ), I really want to know if there is a faster way to compile the kernel? Because my modification each time is relatively small, such compilation really slows me down too much!!

Any suggestions?

Thanks a lot. Merry Christmas!

-Yi
akywy is offline   Reply With Quote
Old 12-25-2005   #2 (permalink)
Linux Enthusiast
 
scientica's Avatar
 
Join Date: Sep 2003
Location: South- or "Mid-" Sweden
Posts: 742
Send a message via ICQ to scientica
you should try ccache - it'll speed re-compiles up a lot (well, for unmodified soure files), say you compile the kernel once (with ccache), then edit one file, then recompile it, this time only the modified file (and those depening on it's output) will be recompiled. If you made a mrpropper before the recompile it ccache will fetch the other files from it's cache, and in effect only the modified file (and those that depend on it) should be compiled while the others are simply copied from the cache.
__________________
Regards Scienitca (registered user #335819 - http://counter.li.org )
--
A master is nothing more than a student who knows something of which he can teach to other students.
scientica is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
 

Free Magazines
Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe
Systems Management News, the newspaper for IT systems administration and data center managers!
Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe
The Enterprise Newsweekly
eWeek is the essential technology information source for builders of e-business.
subscribe
Oracle Magazine
Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe
Total Telecom
Total Telecom is "The Economist of the communications industry".
subscribe
More free magazines »



All times are GMT. The time now is 01:12 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.2.0