如何在Windows上使用Borland的编译器配置Vim以编译C代码? [英] How can I configure Vim to compile C code using Borland's compiler on Windows?

查看:112
本文介绍了如何在Windows上使用Borland的编译器配置Vim以编译C代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是文字编辑器Vim的新手。我想用它来对
C进行编程。我正在使用Windows和Borland的 bcc32 编译器。
我似乎无法编译我的C代码。
我认为我的设置有问题。有人可以提供有关如何设置Vim以使用BCC进行编译的逐步信息
吗?

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 compile. I think something is wrong with my setup. Can someone give step by step information on how to setup Vim for compiling using BCC?

推荐答案

我还没有使用了bcc32编译器,但我假设它使用的工具与 make 不同。您需要输入:

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>

.vimrc 文件中的某个位置。

这篇关于如何在Windows上使用Borland的编译器配置Vim以编译C代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆