By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,067 Members | 1,818 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,067 IT Pros & Developers. It's quick & easy.

C++ error

P: 2
While compiling my code in turbo C++
error "Segment _TEXT exceeds 64k" shown
what does it means and how to solve the problem?
Sep 27 '15 #1
Share this Question
Share on Google+
5 Replies


P: 22
I think you have to choose different memory model from the project settings.
Sep 27 '15 #2

weaknessforcats
Expert Mod 5K+
P: 9,197
How old is your compiler?

I haven't seen memory model issues since 16-bit windows 20 years ago.
Sep 27 '15 #3

P: 2
does it cause due to lines of code
Oct 3 '15 #4

Expert 100+
P: 2,398
The error message says your program is too big to fit in 64K. Are you building code for a target system (processor/OS) where that limitation makes sense?
Oct 3 '15 #5

weaknessforcats
Expert Mod 5K+
P: 9,197
It's not that the program won't fit into 64k but, rather, the object file from one of the source files is over 64K.

Are you truly writing 16-bit code?
Oct 4 '15 #6

Post your reply

Sign in to post your reply or Sign up for a free account.