Hi Bram,

I am wondering whether l. 705 of Make_mvc.mak in vim-7.1-extra.tar.gz
should be change from

 LINKARGS1 = $(linkdebug) $(conflags) /nodefaultlib:libc

to

 LINKARGS1 = $(linkdebug) $(conflags) /nodefaultlib:libc /nodefaultlib:msvcrt

I have been using it for maybe half a year and not found a single
problem yet. It will eliminate this message when building vim.exe:

libcmt.lib(crt0init.obj) : warning LNK4098: defaultlib 'msvcrt.lib'
conflicts with use of other libs; use /NODEFAULTLIB:library

Without /nodefaultlib:msvcrt vim.exe will have a dependency on
MSVCR71.DLL (I use MSVC 7.1). This added flag will not affect
gvim.exe. The command lines I used are:

nmake -f Make_mvc.mak GUI=yes OLE=yes MBYTE=yes IME=yes GIME=yes
CSCOPE=yes PERL=C:\Perl DYNAMIC_PERL=yes PERL_VER=58
PYTHON=C:\Python24 DYNAMIC_PYTHON=yes PYTHON_VER=24 RUBY=C:\ruby
DYNAMIC_RUBY=yes RUBY_VER=18 RUBY_VER_LONG=1.8 TCL=C:\Tcl
DYNAMIC_TCL=yes TCL_VER=84 TCL_VER_LONG=8.4 XPM=C:\xpm %*
nmake -f Make_mvc.mak MBYTE=yes CSCOPE=yes PERL=C:\Perl
DYNAMIC_PERL=yes PERL_VER=58 PYTHON=C:\Python24 DYNAMIC_PYTHON=yes
PYTHON_VER=24 RUBY=C:\ruby DYNAMIC_RUBY=yes RUBY_VER=18
RUBY_VER_LONG=1.8 TCL=C:\Tcl DYNAMIC_TCL=yes TCL_VER=84
TCL_VER_LONG=8.4 XPM=C:\xpm %*

Best regards,

Yongwei

--
Wu Yongwei
URL: http://wyw.dcweb.cn/

Reply via email to