编译和链接 [英] Compile and link

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

问题描述




我正在使用Borland C Dos编译器。


如何通过链接创建Dos执行文件?假设

编译命令是bc。

假设我有test1.c和test2.c,我想从
$创建最终的test.exe b $ b这两个文件。有小费吗?可能批处理脚本会很好。


谢谢。


问候。

Hi,

I''m using Borland C Dos Compiler.

how can I create an Dos execution file by linking? Assume that the
compilation command is bc.
Let say I have test1.c and test2.c, I want to create final test.exe from
these two files. Any tips? Probably batch script will be nice.

Thanks.

Regards.

推荐答案

2004年10月1日星期五14:31:28 +0800,Magix写道:
On Fri, 01 Oct 2004 14:31:28 +0800, Magix wrote:


我正在使用Borland C Dos编译器。


我感到很痛苦。

如何通过链接创建Dos执行文件?
Hi,

I''m using Borland C Dos Compiler.
I feel your pain.

how can I create an Dos execution file by linking?




通过阅读

编译器和链接器应附带的相关文档。



By reading the relevant documentation that should have shipped with your
compiler and linker.




" Magix" <毫安*** @ asia.com>在留言新闻中写道:41 ******** @ news.tm.net.my ...

"Magix" <ma***@asia.com> wrote in message news:41********@news.tm.net.my...


我正在使用Borland C Dos编译器。

如何通过链接创建Dos执行文件?假设
编译命令是bc。
假设我有test1.c和test2.c,我想从这两个文件创建最终的test.exe。有小费吗?可能批处理脚本会很好。

谢谢。
Hi,

I''m using Borland C Dos Compiler.

how can I create an Dos execution file by linking? Assume that the
compilation command is bc.
Let say I have test1.c and test2.c, I want to create final test.exe from
these two files. Any tips? Probably batch script will be nice.

Thanks.




RTFM。



RTFM.


" Magix公司" <毫安*** @ asia.com>在留言新闻中写道:41 ******** @ news.tm.net.my ...
"Magix" <ma***@asia.com> wrote in message news:41********@news.tm.net.my...


我正在使用Borland C Dos编译器。

如何通过链接创建Dos执行文件?假设
编译命令是bc。
假设我有test1.c和test2.c,我想从这两个文件创建最终的test.exe。有小费吗?可能批处理脚本会很好。
Hi,

I''m using Borland C Dos Compiler.

how can I create an Dos execution file by linking? Assume that the
compilation command is bc.
Let say I have test1.c and test2.c, I want to create final test.exe from
these two files. Any tips? Probably batch script will be nice.




我刚买了一个新的咖啡机。我不知道怎么用b $ b来操作它。我该怎么办?


-Mike



I just bought a new coffee-maker. I''m not sure how to
operate it. What should I do?

-Mike


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

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