help-global
[Top][All Lists]
Advanced

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

new build/install of v5.7.5 fails to create any tags for C++ source


From: Eric Holbrook
Subject: new build/install of v5.7.5 fails to create any tags for C++ source
Date: Mon, 29 Jun 2009 13:05:00 -0700
User-agent: Thunderbird 2.0.0.16 (X11/20080707)


I downloaded v5.7.5, which built/installed w/o any problems. I
copied gtags.conf to ~/.globalrc, and added '.h' to the cpp chunk of
langmap.

When i execute `gtags` at the top of my source area, i get the 4 G*
files, *all* with size=16384. gtags executes without any complaints.
Here's the output:

# gtags -v
[Mon Jun 29 12:44:17 PDT 2009] Gtags started.
 Using config file '/usr/me/.globalrc'.
[Mon Jun 29 12:44:17 PDT 2009] Creating 'GTAGS'.
[Mon Jun 29 12:44:18 PDT 2009] Creating 'GRTAGS'.
[Mon Jun 29 12:44:18 PDT 2009] Creating 'GSYMS'.
[Mon Jun 29 12:44:18 PDT 2009] Done.


When i run `global` it doesn't complain, but it can't find any class
or instance or method in my code:

# global -v addrGen
object not found (using '/path/to/.../GTAGS').

And there don't appear to be any paths in the GPATHS file:

# global -vP
file not found (using '/path/to/.../GTAGS').


Am i using the tool wrong, or is global not capable of handling C++
code?

Are there any extra steps i should have taken to set up for generating
tags for *.h/*.cpp file pairs for C++ code?


thanks,
Eric




reply via email to

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