Hello I also suggest id-utils package. It contains mkid and gid. mkid will build a database of your kernel tree. gid will "grep" the kernel tree for pattern matches. Its equivalent to doing find . -type f | xargs grep foo but does it against a database instead of file by file. ie. it is much faster. id-utils has lots of other utils as well. JD |---------+---------------------------------> | | nitin panjwani | | | <nitin_rpr@yahoo.com> | | | Sent by: | | | kernelnewbies-bounce@n| | | l.linux.org | | | | | | | | | 01/20/2003 04:57 PM | | | | |---------+---------------------------------> >------------------------------------------------------------------------------------------------------------------------------| | | | To: Seth Arnold <sarnold@wirex.com>, kernelnewbies@nl.linux.org | | cc: | | Subject: Re: IDE for kernel code | | | >------------------------------------------------------------------------------------------------------------------------------| Hi Seth, Thanks for such a good information. Well, I haven't used any of these before. I am using nedit, which is very simple, but not poweful enough. I will like to pick randomly one which is light and very easy to use and extensible. can you please suggest one...I will take your words. Thanks, Nitin --- Seth Arnold <sarnold@wirex.com> wrote: > On Thu, Jan 16, 2003 at 09:21:45PM -0800, nitin > panjwani wrote: > > I was just wondering if any good IDE available for > > writing/reading kernel and device drivers code. > > This is quickly becoming a FAQ, so I've prepared a > FAQ entry for it -- > John, if you could please integrate as you have > time, I'd appreciate it. > :) > > > Q: Are there any good IDEs? How do I handle all this > code? > > A: When dealing with a source base as large as the > kernel, it certainly > helps to have software tools to help understand how > the pieces fit > together. Perhaps the most important tool is a good > programmers's > text editor. Popular choices are emacs and any vi > clone, such as <a > href="http://www.vim.org/">vim</a>. Generally, text > editors written for > programmers are programable and have features such > as syntax highlighting, > text folding, brace matching, and easy integration > with source management > tools, such as make(1), cvs(1), text reformatting, > man page lookups, > and more. > > Most popular is a tool to quickly find uses, > definitions, and > declarations, of C symbols. grep(1) is almost always > available, and > the more powerful version, egrep(1), is very useful > to know. But > grep(1) requires searching every file on every > lookup. Tools > such as <a > href="http://cscope.sourceforge.net/">cscope</a>, > <a > href="http://freescope.sourceforge.net/">freescope</a>, > <a > href="http://www.delorie.com/gnu/docs/emacs/etags.1.html">etags</a>, > <a href="http://ctags.sourceforge.net/">ctags</a>, > and <a > href="http://www.gnu.org/directory/text/editors/idutils.html">idutils</a> > build databases to use when searching for C symbols. > Each has their own > idiosyncrasies and features. Some integrate better > with your text editor > of choice. (Look especially for plugins to help with > integration.) > > <a href="http://uzix.org/cgvg.html">cgvg</a> is > another option, though > it doesn't appear to use a database to speed > searches. > > -- > "I'm not sure which upsets me more: that people are > so unwilling > to accept responsibility for their own actions, or > that they are > so eager to regulate everyone else's." -- Kee > Hinckley > > ATTACHMENT part 2 application/pgp-signature __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/