Install vimgdb

来源:互联网 发布:桌面音响推荐 知乎 编辑:程序博客网 时间:2024/06/05 17:40
From    http://clewn.sourceforge.net/install.html#vimgdb

vimGdb install

This document describes how to install the patch for vimGdb.a) You need:    vim-7.2.tar.bz2         Vim 7.2 source tar ball (from www.vim.org)    vimgdb72-1.14.tar.gz    this patchb) Untar all files, apply the patch and make Vim:    tar xjf vim-7.2.tar.bz2    tar xzf vimgdb72-1.14.tar.gz    patch -d vim72 --backup -p0 < vimgdb/vim72.diff    cd vim72/src        make            make vim        make install        install vim (may require root privileges)IMPORTANT NOTE: you must run make (not ./configure), and if you run./configure then you must add the --enable-gdb command line argumentin order to include the gdb feature (vimgdb) in vim.c) Install vimGdb runtime:Copy the file vimgdb_runtime.tgz found in the vimgdb tarball, to yourruntime path. To find your runtime path location execute the vimcommand (this is usually $HOME/.vim):    :set runtimepath?Untar vimgdb_runtime.tgz in your runtime path. After this step, youshould have the following files:    doc/gdb.txt    macros/gdb_mappings.vim    syntax/gdb.vim    syntax/gdbvim.vim    syntax/gdbvar.vimChange to the doc directory, start Vim and run the ":helptags ."command to process the taglist help file. Without this step, youcannot jump to the taglist help topics. You can now use the ":helpvimgdb" command to get the vimGdb documentation.建议把 make install放到最后执行。启动时进入 /usr/local/bin 执行./vim之前按照顺序安装时,装完执行./vim 发现无法:help gdb于是重新执行一遍make install即可。help 的所有文档在 ~/usr/vimgdb/vim72/runtime/doc 这是我的vim72解压缩路径 个人不同。 

0 0
原创粉丝点击