all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* how to create a TAG file for the whole linux kernel
@ 2002-09-16  5:42 kani
  2002-09-16  6:17 ` maierh
  0 siblings, 1 reply; 3+ messages in thread
From: kani @ 2002-09-16  5:42 UTC (permalink / raw)


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 ?

thanx a lot
mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to create a TAG file for the whole linux kernel
  2002-09-16  5:42 how to create a TAG file for the whole linux kernel kani
@ 2002-09-16  6:17 ` maierh
  2002-09-16 10:50   ` Zhongtao Zhu
  0 siblings, 1 reply; 3+ messages in thread
From: maierh @ 2002-09-16  6:17 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: how to create a TAG file for the whole linux kernel
  2002-09-16  6:17 ` maierh
@ 2002-09-16 10:50   ` Zhongtao Zhu
  0 siblings, 0 replies; 3+ messages in thread
From: Zhongtao Zhu @ 2002-09-16 10:50 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-09-16 10:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-16  5:42 how to create a TAG file for the whole linux kernel kani
2002-09-16  6:17 ` maierh
2002-09-16 10:50   ` Zhongtao Zhu

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.