How can I configure Vim to compile C code using Borland's compiler on Windows?

前端 未结 2 1062
忘掉有多难
忘掉有多难 2021-01-25 16:40

I am new to the text editor Vim. I want to use it for programming C. I am using Windows and the bcc32 compiler from Borland. I cannot seem to get my C code to comp

相关标签:
2条回答
  • 2021-01-25 17:12

    A Google search of vim and bcc led me to this page.

    http://ftp.nluug.nl/vim/runtime/compiler/bcc.vim

    You'll have to place this bcc.vim in the ~/vimfiles/compiler directory

    0 讨论(0)
  • 2021-01-25 17:35

    I've not used the bcc32 compiler, but I'm assuming it uses a different make tool than make. You'll need to put:

    set makeprg=<make command>

    Somewhere in your .vimrc file.

    0 讨论(0)
提交回复
热议问题