> Configure and build Vim as usual. Edit src/Makefile, search for
> "CFLAGS = " and replace
> it with the following:
>
> CFLAGS = -g -O0

Or, in case you don't want to change any files for the purpose, an
alternative is:

$ make distclean
$ CFLAGS="-g -O0" ./configure <your configure options here>
$ make

Make sure that you run those commands in vim/src/ .

The resulting Vim refers to $VIMRUNTIME (usually,
 /usr/local/share/vim/vim80/) for the runtime files even before it gets
installed.  Hence, if you have never installed the files there or have
already uninstalled them, doing ./vim in vim/src/ results in a bunch of
warnings.  To avoid that, try

$ VIMRUNTIME=../runtime ./vim

Best regards,
Kazunobu

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui