bug-global
[Top][All Lists]
Advanced

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

gtags.vim does not work on Vim for Windows


From: Dennis Newbold
Subject: gtags.vim does not work on Vim for Windows
Date: Sun, 23 May 2004 23:42:30 -0700 (PDT)

Dear sirs:

   Using version 4.7 of global on both windows and Linux.

   Using version 6.2 of Vim on both windows and Linux.

   I ran gtags against the linux 2.6.6 kernel source tree

   In each case, I did

      :Gtags sock_init from the base directory

   I know that the gtags.vim script was being invoked on the
   Winodws version of vim, because I added a few debug (echo ...)
   lines to it, and they all executed correctly.

   Under Linux, it worked fine  Under Windows, it did not.

   I think that, possibly, something after the "sys(cmd . '>' . tmpfile)"
   line is executing differently on the two different platforms,
   but I'm not sure, and haven't been able to pinpoint it (I'm not
   really very knowledgeable in using Vim's scripting language,
   so I'm basically stuck now.

Attached are two short ascii text files, showing the output
of executing "global sock_init" from the command line, when
the current working directory was the base of the linux-2.6.6
source tree.

   s.linux executed on Linux
   s.win   executed on Windows.

You will see that, except for line endings, they are both identical.

Any help / advice you can offer would be appreciated.

=========================================================================

On a different, but related topic -- The windows version of global,
gtags, etc. which I am using are not the djgpp versions referenced
from the GLOBAL home page.  Instead, I made a few minor tweaks to the
sources and was able to get everything to compile and build cleanly using
mingw and msys (www.mingw.org).  This results in global, etc. being
native 32-bit Windows application which do not need a special run-time
environment or library, as cygwin built and djgpp built binaries need.
I'm not sure if anyone else would be interested in using this, but I can
send you my changes if you are interested.

Dennis Newbold
address@hidden

---------------------------------------------
|                                           |
|     The way to be happy is to be good     |
|                                           |
---------------------------------------------

Attachment: s.linux
Description: Text document

Attachment: s.win
Description: Text document


reply via email to

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