[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: new build/install of v5.7.5 fails to create any tags for C++ source
From: |
Hideki IWAMOTO |
Subject: |
Re: new build/install of v5.7.5 fails to create any tags for C++ source |
Date: |
Tue, 30 Jun 2009 19:52:26 +0900 |
Hi.
> Are there any extra steps i should have taken to set up for generating
> tags for *.h/*.cpp file pairs for C++ code?
There is no need for extra steps.
To reproduce the problem, could you post your .globalrc?
On Mon, 29 Jun 2009 13:05:00 -0700, Eric Holbrook wrote...
>
> 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
>
>
> _______________________________________________
> Help-global mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-global
----
Hideki IWAMOTO address@hidden