[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble using global with libraries

From: Shigio YAMAGUCHI
Subject: Re: Trouble using global with libraries
Date: Wed, 25 Mar 2009 20:58:26 +0900

> ~/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 <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

[Prev in Thread] Current Thread [Next in Thread]