help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to create a TAG file for the whole linux kernel


From: Zhongtao Zhu
Subject: Re: how to create a TAG file for the whole linux kernel
Date: 16 Sep 2002 18:50:50 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

maierh@myself.com writes:

> kani <harazy@telocity.com> writes:
> 
> > Hi all,
> >
> > Please excuse me if this not he right group for this question. 
> > so, how can i create a TAG file for the whole linux kernel ?
> 
> It's the right group. Go to the root directory and execute the
> following command (not tested):
> 
>   $ find $PWD \( -name "*.c" -o -name "*.h" \) | xargs etags -o <out-file>
> 
> Usage of $PWD produces absolute path names. <out-file> should contains
> the TAG file name. If the -o option is omitted then etags creats a
> file with the name TAGS in $PWD. Note, in that case you need
> write permissions for the directory $PWD.
> 
> Harald

The simplest method to do this is to invoke `make TAGS' after
finishing `config'. Take a look at 'Makefile' is helpful.

-- 
Zhongtao Zhu                          Tel: +86 10 6278 2266
Department of Computer, Tsinghua University, Beijing, China





reply via email to

[Prev in Thread] Current Thread [Next in Thread]