Re: Trouble using global with libraries
"Shigio YAMAGUCHI" <[email protected]> Wed, 25 Mar 2009 20:58:26 +0900
| Newsgroups | gmane.comp.gnu.global.general |
|---|---|
| Message-ID | <[email protected]> |
Hi,
> ~/tmp$ gtags /usr/include/qt4
> gtags: cannot make GTAGS.
You should invoke gtags(1) in the root directory of the source tree.
Perhaps, your wanting to do is:
/usr/include/qt4$ gtags ~/tmp
By the way, in such case, the --objdir option is convenient.
(Please man gtags & global)
/usr/include/qt4$ mkdir ~/obj
/usr/include/qt4$ export MAKEOBJDIRPREFIX ~/obj
/usr/include/qt4$ gtags --objdir -v
/usr/include/qt4$ global -x ...
Luck is wished!
--
Shigio YAMAGUCHI <[email protected]>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3