[redirecting to vim-dev]

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

I'm very careful with these things.  Make_mvc.mak is used for several
versions of MSVC, starting at 4.1.  You need to check all versions to
make sure it doesn't cause any problems.

I suppose the error message you get is from some of the languages
Ruby/Python/Tcl/....  I don't get it, thus you can probably solve it by
checking your included libraries.  Perhaps one has not been build by
MSVC?  That usually causes trouble (not just an error message, but a
crash at runtime).  Try actually using all the languages.

-- 
"The sun oozed over the horizon, shoved aside darkness, crept along the
greensward, and, with sickly fingers, pushed through the castle window,
revealing the pillaged princess, hand at throat, crown asunder, gaping
in frenzied horror at the sated, sodden amphibian lying beside her,
disbelieving the magnitude of the frog's deception, screaming madly,
"You lied!"
    - Winner of the Bulwer-Lytton contest (San Jose State University),
      wherein one writes only the first line of a bad novel

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to