This is the command gtags that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
gtags - create tag files for global.
SYNOPSIS
gtags [-iIqvw][-f file][-n number][dbpath]
DESCRIPTION
Gtags recursively collect the source files under the current directory, pickup symbols and
write the cross-reference data into tag files (´GTAGS´, ´GRTAGS´, ´GSYMS´ and ´GPATH´).
You should execute this command at the root of the source tree.
C, C++, yacc, java, PHP and Assembly source files are supported. Files whose names end in
´.c´ or ´.h´ are assumed to be C source files. Files whose names end in ´.c++´ ´.cc´
´.cpp´ ´.cxx´ ´.hxx´ ´.hpp´ ´.C´ ´.H´ are assumed to be C++ source files. Files whose
names end in ´.y´ are assumed to be YACC source files. Files whose names end in ´.java´
are assumed to be Java source files. Files whose names end in ´.php´ ´.php3´ ´.phtml´ are
assumed to be PHP source files. Files whose names end in ´.s´ or ´.S´ are assumed to be
Assembly source files. Other files are assumed to be text files.
OPTIONS
The following options are available:
--config[=name]
Show the value of config variable name. If name is not specified then show whole
of config entry.
-f, --file file
Read from file a list of file names which should be considered as the candidate of
source files. By default, all files under the current directory are considered as
the candidate. If file is ´-´, read from standard input. File names must be
separated by newline.
--gtagsconf file
Load user's configuration from file.
--gtagslabel label
label is used as the label of configuration file. The default is default.
-I, --idutils
Make index files for idutils(1) too.
-i, --incremental
Update tag files incrementally. You had better use global(1) with the -u option.
-n, --max-args number
Maximum number of arguments for gtags-parser(1). By default, gtags invokes gtags-
parser with arguments as many as possible to decrease the frequency of invoking.
-q, --quiet
Quiet mode.
-v, --verbose
Verbose mode.
-w, --warning
Print warning messages.
dbpath The directory in which tag files are generated. The default is the current
directory. It is useful when your source directory is on a read only device like
CDROM.
EXAMPLES
$ ls -F
Makefile src/ lib/
$ gtags -v
$ global -x main
main 10 src/main.c main (argc, argv) {
Use gtags online using onworks.net services