C源码编译 [英] C source compilation

查看:151
本文介绍了C源码编译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我继承了许多C源文件(.c和.h)以及.ide文件.我希望能够编译此源代码.问题是我不知道原始开发人员使用了什么-也许他们使用了Borland Builder.我对这种环境不熟悉,因此,如果有人对我可以采取的步骤提出任何建议,我将不胜感激.

预先感谢大家.

Hi,

I have inherited a bunch of C source files (.c and .h) along with an .ide file. I want to be able to compile this source ... The thing is that I do not know what the original developers used - maybe they used Borland builder. I am new to this environment and so I would appreciate any advice anyone may have to offer as to the steps I could take.

Thanks a bunch in advance.

推荐答案

.IDE扩展名建议使用borland:请参见在这里检查文件ID字符 [ ^ ]
希望这会有所帮助-然后,您只需要获取正确版本的borland ...
.IDE extension suggests borland: See here and check the file ID characters[^]
That should hopefully help - you then just need to get the right version of borland...


好吧,另一种方法是,代码被编译成什么?它在什么[OS]系统上运行.您可以将文件移动到较新的项目中吗?尝试创建空的解决方案/项目并添加文件.您可能需要将链接器设置为静态链接的库.
Well, Another approch is, what is the code compiled to? What [OS] system does it run. Can you move the files to newer project. Try creating empty solution/project and add the files. You may have to set up linker to statically linked library.


这篇关于C源码编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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