[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Global + Exuberant ctags + Windows
From: |
Jason Hood |
Subject: |
Re: Global + Exuberant ctags + Windows |
Date: |
Fri, 18 Apr 2014 01:25:46 +1000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 17/04/2014 0:25, Suresh Kumar wrote:
> But when I try to use it for C# code (by setting GTAGSLABEL=ctags), I
> run into a problem where it is not able to find gtags parser library
> (I get something like "gtags: cannot open shared object
> '/usr/local/lib/gtags/exuberant-ctags.la'"). I am wondering if
> anybody using similar setup and can share some details.
That's the default path for Unix; for Windows, I configure with
--prefix=c:/usr (where I've installed various GNU utilities). However,
there's another problem, since gtags.conf doesn't escape the colon; not
sure where I should handle that - atm you'll have to DIY. You also need
a patch, so it will compile and build a DLL (Windows needs the -no-undefined
option, not sure how that affects Unix). BTW, shouldn't terminate_ctags
free argv[1]?
> Also, can someone share their ./configure option for compiling global
> under Windows? --with-exuberant-ctags=/c/bin/ctags.exe
No, that won't work, as you're building a native tool, so you need a
native path - "c:" instead of "/c" is what you want. And as mentioned
above, you probably want something for --prefix (which is the only option
I use, but I build with stock MinGW).
--
Jason.
plugin.txt
Description: Text document