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 02:22
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » TC2.0 fails to compile, seeking help? View 2,149 Replies 6
Original Poster Posted 2008-06-25 10:45 ·  中国 山东 潍坊 电信
新手上路
Credits 8
Posts 3
Joined 2008-05-24 18:22
18-year member
UID 119599
Gender Male
Status Offline
Programs under the tc2.0 environment encounter an out of memory error during compilation. Suspect it's due to a large file, but files larger than this one work normally on the same machine. Please help analyze? Thanks
Floor 2 Posted 2008-06-25 10:51 ·  中国 山东 潍坊 电信
新手上路
Credits 8
Posts 3
Joined 2008-05-24 18:22
18-year member
UID 119599
Gender Male
Status Offline
The file size that prompts the out of memory error is 63027b, but when I compile a file of 63990b size, it is normal. I changed the mode in Options--Compiler---Model to large mode, but it didn't work. Please give me some guidance, urgent!
Floor 3 Posted 2008-06-25 10:54 ·  中国 山东 潍坊 电信
新手上路
Credits 8
Posts 3
Joined 2008-05-24 18:22
18-year member
UID 119599
Gender Male
Status Offline
I'm waiting online. Which friend can help me? I've tried for 2 days and can't make it. The program can't be simplified anymore.
Floor 4 Posted 2008-06-25 14:18 ·  中国 广东 广州 教育网
铂金会员
★★★★
C++启程者
Credits 5,154
Posts 1,827
Joined 2003-07-18 00:00
23-year member
UID 7105
Gender Male
Status Offline
Is it that the array exceeds 64k? Try reducing it to within 64k.
Floor 5 Posted 2008-06-26 10:07 ·  中国 福建 厦门 电信
高级用户
★★★
Credits 741
Posts 366
Joined 2007-07-25 19:11
19-year member
UID 94024
Gender Male
Status Offline
What we need to look at is the memory usage, not just the file size.
Floor 6 Posted 2008-11-21 21:17 ·  中国 重庆 重庆有线电视网络有限公司
中级用户
★★
Credits 236
Posts 101
Joined 2005-11-27 19:35
20-year member
UID 46050
Status Offline
Use the command line... If not, try installing Borland C++ 3.1. Select large or huge mode
Floor 7 Posted 2009-12-05 09:19 ·  中国 河北 唐山 电信
初级用户
Credits 22
Posts 9
Joined 2009-04-18 09:35
17-year member
UID 143221
Gender Male
Status Offline
First, did you load too many things before starting TC? Secondly, if the code is not much (not particularly confidential), post it so that everyone can LOOK. You ask like this, no one knows what's going on!!!
A_knife
Forum Jump: