vim 的编译方式
输入 vim --verison 会显示如下信息, 包含了编译的方法.
C:\Users\haife>vim --version
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 24 2020 22:03:13)
MS-Windows 64-bit console version
包含补丁: 1-1738
编译者 appveyor@APPVYR-WIN
巨型版本 无图形界面。 可使用(+)与不可使用(-)的功能:
+acl +ex_extra +multi_lang +tcl/dyn
+arabic +extra_search +mzscheme/dyn +termguicolors
+autocmd -farsi -netbeans_intg +terminal
+autochdir +file_in_path +num64 -termresponse
+autoservername +find_in_path +packages +textobjects
-balloon_eval +float +path_extra +textprop
+balloon_eval_term +folding +perl/dyn -tgetent
-browse -footer +persistent_undo +timers
++builtin_terms +gettext/dyn +popupwin +title
+byte_offset -hangul_input -postscript -toolbar
+channel +iconv/dyn +printer +user_commands
+cindent +insert_expand +profile +vartabs
+clientserver +ipv6 +python/dyn +vertsplit
+clipboard +job +python3/dyn +virtualedit
+cmdline_compl +jumplist +quickfix +visual
+cmdline_hist +keymap +reltime +visualextra
+cmdline_info +lambda +rightleft +viminfo
+comments +langmap +ruby/dyn +vreplace
+conceal +libcall +scrollbind +vtp
+cryptv +linebreak +signs +wildignore
+cscope +lispindent +smartindent +wildmenu
+cursorbind +listcmds +sound +windows
+cursorshape +localmap +spell +writebackup
+dialog_con +lua/dyn +startuptime -xfontset
+diff +menu +statusline -xim
+digraphs +mksession -sun_workshop -xpm_w32
-dnd +modify_fname +syntax -xterm_save
-ebcdic +mouse +tag_binary
+emacs_tags -mouseshape -tag_old_static
+eval +multi_byte_ime/dyn -tag_any_white
系统 vimrc 文件: "$VIM\vimrc"
用户 vimrc 文件: "$HOME\_vimrc"
第二用户 vimrc 文件: "$HOME\vimfiles\vimrc"
第三用户 vimrc 文件: "$VIM\_vimrc"
用户 exrc 文件: "$HOME\_exrc"
第二用户 exrc 文件: "$VIM\_exrc"
defaults file: "$VIMRUNTIME\defaults.vim"
编译方式: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /Zl /MT /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86t.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python38.dll\" -DFEAT_MZSCHEME -I "C:\Program Files\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracket3m_a36fs8.dll\" -DDYNAMIC_MZGC_DLL=\"libracket3m_a36fs8.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl528.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DRUBY_VERSION=24 -DFEAT_HUGE /Fd.\ObjCULYHTRZAMD64/ /Zi
链接方式: link /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:AMD64 libcmt.lib user32.lib /nodefaultlib:lua53.lib /STACK:8388608 /nodefaultlib:python27.lib /nodefaultlib:python38.lib "C:\Tcl\lib\tclstub86.lib" winmm.lib WSock32.lib Ws2_32.lib /PDB:vim.pdb -debug
VIM - Vi IMproved 8.2 (2019 Dec 12, compiled Sep 24 2020 22:03:13)
MS-Windows 64-bit console version
包含补丁: 1-1738
编译者 appveyor@APPVYR-WIN
巨型版本 无图形界面。 可使用(+)与不可使用(-)的功能:
+acl +ex_extra +multi_lang +tcl/dyn
+arabic +extra_search +mzscheme/dyn +termguicolors
+autocmd -farsi -netbeans_intg +terminal
+autochdir +file_in_path +num64 -termresponse
+autoservername +find_in_path +packages +textobjects
-balloon_eval +float +path_extra +textprop
+balloon_eval_term +folding +perl/dyn -tgetent
-browse -footer +persistent_undo +timers
++builtin_terms +gettext/dyn +popupwin +title
+byte_offset -hangul_input -postscript -toolbar
+channel +iconv/dyn +printer +user_commands
+cindent +insert_expand +profile +vartabs
+clientserver +ipv6 +python/dyn +vertsplit
+clipboard +job +python3/dyn +virtualedit
+cmdline_compl +jumplist +quickfix +visual
+cmdline_hist +keymap +reltime +visualextra
+cmdline_info +lambda +rightleft +viminfo
+comments +langmap +ruby/dyn +vreplace
+conceal +libcall +scrollbind +vtp
+cryptv +linebreak +signs +wildignore
+cscope +lispindent +smartindent +wildmenu
+cursorbind +listcmds +sound +windows
+cursorshape +localmap +spell +writebackup
+dialog_con +lua/dyn +startuptime -xfontset
+diff +menu +statusline -xim
+digraphs +mksession -sun_workshop -xpm_w32
-dnd +modify_fname +syntax -xterm_save
-ebcdic +mouse +tag_binary
+emacs_tags -mouseshape -tag_old_static
+eval +multi_byte_ime/dyn -tag_any_white
系统 vimrc 文件: "$VIM\vimrc"
用户 vimrc 文件: "$HOME\_vimrc"
第二用户 vimrc 文件: "$HOME\vimfiles\vimrc"
第三用户 vimrc 文件: "$VIM\_vimrc"
用户 exrc 文件: "$HOME\_exrc"
第二用户 exrc 文件: "$VIM\_exrc"
defaults file: "$VIMRUNTIME\defaults.vim"
编译方式: cl -c /W3 /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DFEAT_CSCOPE -DFEAT_TERMINAL -DFEAT_SOUND -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DWINVER=0x0501 -D_WIN32_WINNT=0x0501 /source-charset:utf-8 /MP -DHAVE_STDINT_H /Ox /GL -DNDEBUG /Zl /MT /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_TCL -DDYNAMIC_TCL -DDYNAMIC_TCL_DLL=\"tcl86t.dll\" -DDYNAMIC_TCL_VER=\"8.6\" -DFEAT_LUA -DDYNAMIC_LUA -DDYNAMIC_LUA_DLL=\"lua53.dll\" -DFEAT_PYTHON -DDYNAMIC_PYTHON -DDYNAMIC_PYTHON_DLL=\"python27.dll\" -DFEAT_PYTHON3 -DDYNAMIC_PYTHON3 -DDYNAMIC_PYTHON3_DLL=\"python38.dll\" -DFEAT_MZSCHEME -I "C:\Program Files\Racket\include" -DMZ_PRECISE_GC -DDYNAMIC_MZSCHEME -DDYNAMIC_MZSCH_DLL=\"libracket3m_a36fs8.dll\" -DDYNAMIC_MZGC_DLL=\"libracket3m_a36fs8.dll\" -DFEAT_PERL -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DDYNAMIC_PERL -DDYNAMIC_PERL_DLL=\"perl528.dll\" -DFEAT_RUBY -DDYNAMIC_RUBY -DDYNAMIC_RUBY_DLL=\"x64-msvcrt-ruby240.dll\" -DRUBY_VERSION=24 -DFEAT_HUGE /Fd.\ObjCULYHTRZAMD64/ /Zi
链接方式: link /nologo /opt:ref /LTCG:STATUS oldnames.lib kernel32.lib advapi32.lib shell32.lib gdi32.lib comdlg32.lib ole32.lib netapi32.lib uuid.lib /machine:AMD64 libcmt.lib user32.lib /nodefaultlib:lua53.lib /STACK:8388608 /nodefaultlib:python27.lib /nodefaultlib:python38.lib "C:\Tcl\lib\tclstub86.lib" winmm.lib WSock32.lib Ws2_32.lib /PDB:vim.pdb -debug