/[global]/global/FAQ
ViewVC logotype

Diff of /global/FAQ

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.20 by shigio, Fri Dec 10 14:04:02 2004 UTC revision 1.21 by shigio, Sat Dec 18 12:39:14 2004 UTC
# Line 63  A2. GLOBAL cannot recognize that pattern Line 63  A2. GLOBAL cannot recognize that pattern
63  Q3. I have set up 'gtags.conf' to use emacs's ctags command with GLOBAL  Q3. I have set up 'gtags.conf' to use emacs's ctags command with GLOBAL
64      but I cannot use htags.      but I cannot use htags.
65    
66          % gtags          $ gtags
67          % htags          $ htags
68          htags: GTAGS and GRTAGS not found. Please make them.          htags: GTAGS and GRTAGS not found. Please make them.
69          % ls G*          $ ls G*
70          GPATH   GTAGS          GPATH   GTAGS
71    
72  A3. Emacs's ctags cannot locate function referencies. So, gtags cannot make  A3. Emacs's ctags cannot locate function referencies. So, gtags cannot make
# Line 84  Q5. I invoked gtags but it failed with a Line 84  Q5. I invoked gtags but it failed with a
84    
85  A5. Please check what is the gctags? You can check it with this command like.  A5. Please check what is the gctags? You can check it with this command like.
86    
87          % which gctags          $ which gctags
88          % gctags --version          $ gctags --version
89    
90      If the gctags is not the GLOBAL's one then you should set your PATH      If the gctags is not the GLOBAL's one then you should set your PATH
91      so that GLOBAL's gctags will be invoked.      so that GLOBAL's gctags will be invoked.
# Line 106  A7. In global(1), you can use GTAGSLIBPA Line 106  A7. In global(1), you can use GTAGSLIBPA
106          [library]       /usr/src/lib          [library]       /usr/src/lib
107          [your project]  /usr/home/project          [your project]  /usr/home/project
108    
109          % (cd /usr/src/lib; gtags)          $ (cd /usr/src/lib; gtags)
110          % setenv GTAGSLIBPATH /usr/src/lib          $ export GTAGSLIBPATH=/usr/src/lib
111          % global strlen          $ global strlen
112          ../../../usr/src/lib/libc/string/strlen.c          ../../../usr/src/lib/libc/string/strlen.c
113    
114      In htags(1), you can do it by copying them into your source project.      In htags(1), you can do it by copying them into your source project.
115      For example:      For example:
116    
117          % cd /usr/home/project          $ cd /usr/home/project
118          % cp -r /usr/src/lib .          $ cp -r /usr/src/lib .
119          % gtags          $ gtags
120          % htags          $ htags
121    
122  ----------------------------------------------------------------------------  ----------------------------------------------------------------------------
123  Q8. Deleted.  Q8. Deleted.

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26