中国DOS联盟

-- 联合DOS 推动DOS 发展DOS --

联盟域名:www.cn-dos.net 论坛域名:www.cn-dos.net/forum
DOS,代表着自由开放与发展,我们努力起来,学习FreeDOS和Linux的自由开放与GNU精神,共同创造和发展美好的自由与GNU GPL世界吧!

中国DOS联盟论坛
现在时间是 2026-06-26 08:13
中国DOS联盟论坛 » DOS疑难解答 & 问题讨论 (解答室) » 编译模式问题 查看 932 回复 0
楼 主 编译模式问题 发表于 2003-07-25 00:00 ·  中国 北京 教育网
初级用户
积分 112
发帖 3
注册 2003-07-22 00:00
22年会员
UID 7292
性别 男
状态 离线

我使用的是wattcp开发包,请问在将源代码生成为库模块的时候,采用的是哪种编译方式?

TRACE - turn on tracing/debugging code
SKIPINI - bootp/dhcp only, no WATTCP.CFG (size critical apps)
ETH_MSS - you might set =576 for serial use (EPPPD), mostly
useful if lacking CFG file (SKIPINI, etc)
TW_TO - set between 30 and 240 for an RFC-compliant
TIME_WAIT period (defaults to 2, higher can delay
sock_wait_closed() much longer)
#CFLAGS= $(DEBUGS) -DMSDOS -IC:\borlandc\include -I..\include
#CFLAGS= $(DEBUGS) -DMSDOS -IC:\bc4\include -I..\include
#CFLAGS= $(DEBUGS) -DMSDOS -DSKIPINI -DETH_MSS=576 -IC:\borlandc\include -I..\include
CFLAGS= $(DEBUGS) -DMSDOS -DETH_MSS=576 -IC:\borlandc\include -I..\include


我配置了wattcp.cfg文件,但是我不知道采用一种编译方式才和我的配置文件是配合使用的?
论坛跳转: