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