help-global
[Top][All Lists]
Advanced

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

Re: The globalrc file


From: Hideki IWAMOTO
Subject: Re: The globalrc file
Date: Fri, 13 Jun 2014 18:42:45 +0900

Hi. Suresh.

> (B) In step 9, why didn't global accept --gtagsconf option?

It seems that you are using an executable which is not supporting --gtagsconf. 
What is the version of GLOBAL which you are using?

> (A) In step 8, why wasn't value of GTAGSDBPATH and GTAGSROOT specified in 
> .globalrc files used?

This is reproducible using global-6.3. 


On Thu, 12 Jun 2014 06:21:37 -0700
Suresh Govindachar <address@hidden> wrote:

> 
> Hello,
> 
> Am having trouble getting global to read and use .globalrc file.  Here are 
> the steps:
> 
>    1) copied <install_dir>/share/gtags/gtags.conf to c:\home\suresh\.globalrc
> 
>    2) set GTAGSCONF=c:\home\suresh\.globalrc
> 
>    3) modified c:\home\suresh\.globalrc by adding 3 lines to specify 
> GTAGSDBPATH, GTAGSFORCECPP, and GTAGSROOT as follows:
> 
>        gtags:\
>            :GTAGSDBPATH=c\:\\tmp:\
>            :GTAGSFORCECPP\
>            :GTAGSROOT=c\:\\home\\suresh:\
>            :tc=common:\
>            :tc=builtin-parser:
>        builtin-parser:\
> 
>    4) touch c:\tmp\GTAGS
> 
>    5) cd c:\tmp
> 
>    6) c:\tmp>c:\opt\global\bin\global.exe -p -v
>       checking c:/tmp/GTAGS
>       GTAGS found at 'c:/tmp/GTAGS'.
> 
>    7) cd c:\home\suresh
> 
>    8) c:\home\suresh>c:\opt\global\bin\global.exe -p -v
>       checking c:/home/suresh/GTAGS
>       checking c:/home/suresh/obj/GTAGS
>       checking c:/home/GTAGS
>       checking c:/home/obj/GTAGS
>       checking c://GTAGS
>       checking c://obj/GTAGS
>       global: GTAGS not found.
> 
>     9) c:\home\suresh>c:\opt\global\bin\global.exe -p -v --gtagsconf 
> ..globalrc
>        c:\opt\global\bin\global.exe: unrecognized option '--gtagsconf'
>        Usage: global [-aCdEGilmnNqrsStTvx][-e] pattern
>               global -c[diImNoOPrsT] prefix
>               global -f[aCdlnqrsStvx][-L file-list] files
>               global -g[aCEGilmnoOqStvVx][-L file-list][-e] pattern [files]
>               global -I[aCilmnqStvx][-e] pattern
>               global -P[aCEGilmnoOqStvVx][-e] pattern
>               global -p[qrv]
>               global -u[qv]
> 
> Questions:
> 
> (A) In step 8, why wasn't value of GTAGSDBPATH and GTAGSROOT specified in 
> .globalrc files used?
> 
> (B) In step 9, why didn't global accept --gtagsconf option?
> 
> Thanks,
> 
> --Suresh
> 
> 
> _______________________________________________
> Help-global mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-global

-- 
Hideki IWAMOTO <address@hidden>




reply via email to

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