vim7.4 && vimgdb编译



 ./configure --prefix=$HOME --with-features=huge --enable-multibyte --enable-pythoninterp --enable-cscope --enable-fontset --enable-gdb --enable-largefile \
 --enable-gui=gnome2 \
 --enable-luainterp \
 --enable-tclinterp \
 --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu  #编译配置

    make && make install



# Uncomment the next line to install Vim in your home directory.
prefix = $(HOME)
# Uncomment one of these when you want to include the Lua interface.
# First one is for static linking, second one for dynamic loading.
# Use --with-luajit if you want to use LuaJIT instead of Lua.
# Set PATH environment variable to find lua or luajit executable.
CONF_OPT_LUA = --enable-luainterp
#CONF_OPT_LUA = --enable-luainterp=dynamic
#CONF_OPT_LUA = --enable-luainterp --with-luajit
#CONF_OPT_LUA = --enable-luainterp=dynamic --with-luajit


vimgdb install

You need:


vimgdb-for-vim7.4 (this patch)

Untar all files, apply the patch and make Vim:

tar xjvf vim-7.4.tar.bz2 -C /tmp

tar xzvf vimgdb-for-vim7.4.tar.gz -C /tmp

cd /tmp

patch -p0 < vimgdb-for-vim7.4/vim74.patch

cd vim74/src


sudo make install

Install vimGdb runtime:

Copy the file vimgdb_runtime found in the vimgdb tarball, to your runtime path. To find your runtime path location execute the vim command (this is usually $HOME/.vim): :set runtimepath?

cp -rf /tmp/vimgdb-for-vim7.4/vimgdb_runtime/* ~/.vim

Change to the doc directory, start Vim and run the “:helptags .” command to process the taglist help file. Without this step, you cannot jump to the taglist help topics. You can now use the “:help vimgdb” command to get the vimGdb documentation.