首页 > 代码库 > Vim 添加vimgdb支持

Vim 添加vimgdb支持

./configure --enable-gdb --prefix=/usr --enable-multibyte --enable-fontset --enable-xim --enable-gui=auto --enable-pythoninterp=dynamic --enable-pythoninterp --enable-python3interp=dynamic --enable-rubyinterp=dynamic --enable-rubyinterp --enable-perlinterp --enable-cscope --enable-sniff --with-x --with-compiledby=erocpil --with-features=huge --enable-luainterp=dynamic --with-python-config-dir=/usr/lib/python2.7/config-i386-linux-gnu/

Make的时候加上如下参数:

make CFLAGS="-O2 -D_FORTIFY_SOURCE=1"

如果还不行,就试试这样做:

make CFLAGS="-O3 -D_FORTIFY_SOURCE=1"