Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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