China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 05:44
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » Question about TC compilation? View 727 Replies 5
Original Poster Posted 2003-12-10 00:00 ·  中国 陕西 西安 电信
初级用户
★★
忍者
Credits 376
Posts 86
Joined 2003-10-16 00:00
22-year member
UID 11361
Gender Male
Status Offline
My program has gotten too big. When it was over 3000 lines, it could compile; but now I added some features, and it’s over 4000 lines, and compilation always gives “out of memory !” How can I solve this problem! Even compiling it in the largest memory model doesn’t work!
以C语言软件开发为主:http://sunny1979.icpcn.com
Floor 2 Posted 2003-12-11 00:00 ·  中国 陕西 西安 长安区 电信
初级用户
★★
忍者
Credits 376
Posts 86
Joined 2003-10-16 00:00
22-year member
UID 11361
Gender Male
Status Offline
Can someone help me?
以C语言软件开发为主:http://sunny1979.icpcn.com
Floor 3 Posted 2003-12-13 00:00 ·  中国 天津 南开区 电信
高级用户
★★
Credits 924
Posts 243
Joined 2003-07-09 00:00
23-year member
UID 6612
Gender Male
Status Offline
How about trying a different compiler?
Floor 4 Posted 2004-02-08 00:00 ·  中国 河南 洛阳 联通
初级用户
Credits 104
Posts 2
Joined 2004-02-08 00:00
22-year member
UID 16968
Gender Male
Status Offline
When there are too many lines, you can use TCC to compile it.
Floor 5 Posted 2004-02-10 00:00 ·  中国 江西 吉安 电信
初级用户
Credits 107
Posts 3
Joined 2004-02-10 00:00
22-year member
UID 17080
Gender Male
Status Offline
Not so!
If the program is too long, you can split it into several files, then create a new “project”
Enter those segmented filenames into the project, and then the compiled EXE file will be the file for that project.
Floor 6 Posted 2004-02-11 00:00 ·  中国 辽宁 沈阳 联通
铂金会员
★★★★
痴迷DOS者
Credits 5,798
Posts 1,924
Joined 2003-06-20 00:00
23-year member
UID 5583
Gender Male
From 金獅電腦軟體工作室
Status Offline
Please try compiling again using the large memory model or huge memory model.
熟能生巧,巧能生精,一艺不精,终生无成,精亦求精,始有所成,臻于完美,永无止境!
金狮電腦軟體工作室愿竭诚为您服务!
QQ群:8393170(定期清理不发言者)
个人网站:http://www.520269.cn
电子邮件:doujiehui@vip.qq.com
微信公众号: doujiehui
Forum Jump: