-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
87 lines (55 loc) · 2.3 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
___________________________________
| | | | | _ | | |
| |___| | | | | _| | | | GNU GLOBAL source code tag system
| | | | | | | | | |
| ~~ | ~~| | ~ | | | ~~| for all hackers.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Copyright (c) 2000, 2002, 2003, 2004, 2006, 2011 Tama Communications Corporation
This file is free software; as a special exception the author gives
unlimited permission to copy and/or distribute it, with or without
modifications, as long as this notice is preserved.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
----------------------------------
Installation of GNU GLOBAL.
[Note] Though GNU GLOBAL supports only UNIX(POSIX) environment,
some outside projects develop DOS or Windows 32 version of it.
Please see:
http://www.gnu.org/software/global/download.html
1. Preparation.
o If you want to use the -I option of global(1) then idutils(1) is needed.
You can get idutils at:
ftp://ftp.gnu.org/pub/gnu/idutils/
o If you want to use the --form(-f) or --dynamic(-D) option of htags(1) then
Perl version 5 or later is needed.
If you don't have it, you can fetch it from this site.
http://www.perl.com/CPAN/
2. How to install.
$ ./configure
$ make
# make install
(You can see the options of configure by invoking './configure --help')
3. Using GLOBAL with editors.
o Emacs
Global supports GNU Emacs and XEmacs. If you meet some troubles,
please mail to [email protected].
You can get them at:
GNU emacs:
ftp://ftp.gnu.org/pub/gnu/emacs/
XEmacs:
http://www.xemacs.org
Installation procedure is written in gtags.el itself.
o Elvis
You need Elvis 2.1 or later. You can get it at:
http://elvis.vi-editor.org/
Please copy an elvis script to your home directory.
$ cp /usr/local/share/gtags/elvis.rc $HOME/.elvisrc
$ PATH=/usr/local/share/gtags/script:$PATH
o Vim
You can get it at:
http://www.vim.org/
Please copy vim scripts to your plug-in directory.
$ cp /usr/local/share/gtags/gtags.vim $HOME/.vim/plugin
$ cp /usr/local/share/gtags/gtags-cscope.vim $HOME/.vim/plugin
Good luck!