On Wed, Dec 5, 2018 at 6:28 PM <[email protected]> wrote:
>
> Hi,
>
> I looked into Vim's Makefile and I found out binary stripping happens during 
> the built, which causes missing debuginfo data in the end of the build.
> Would someone mind telling me if there a reason why stripping is done? Is 
> there a way how to disable stripping during build? I didn't find any 
> configure option to do that, only by setting STRIP=/bin/true in Makefile.
> If there will be an interest for such configure option, I can create the 
> patch for it...
>
> Thank you in advance,
>
> Zdenek

Stripping is done to make the Vim executable significantly smaller and
marginally faster.

You don't need to disable stripping during build because the
unstripped executable is not deleted: it can still be found in the
parent of your objects directory — i.e. in your shadow directory if
you use one, or else in the src/ subdirectory of your source (git or
Mercurial) clone. If you need to debug Vim "with symbols", just invoke
it from there with a full path — on my system, where I use shadow
directories, that would be ~/.build/vim/vim-hg/src/shadow-big/vim but
on yours it is probably something else.

Best regards,
Tony.

-- 
-- 
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