Skip to content

Instantly share code, notes, and snippets.

@jannisteunissen
Last active December 24, 2015 18:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jannisteunissen/4218f3649510e8094f43 to your computer and use it in GitHub Desktop.
Save jannisteunissen/4218f3649510e8094f43 to your computer and use it in GitHub Desktop.
GNU Global for other languages [Fortran] on Debian

Install exuberant tags

apt-get install exuberant-ctags

Download & compile GNU global source from

http://www.gnu.org/software/global/download.html

Compile & install global

./configure --prefix=my_dir --with-exuberant-ctags=/usr/local/bin/ctags
make
make install
cp my_dir/share/gtags/gtags.conf ~/.globalrc

Optionally add options to ~/.ctags, for example:

--fortran-kinds=+i

Add to .bashrc:

export GTAGSLABEL=ctags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment