Thanks Andrue, This program has developed over years and different people have added to it then in time left the company. So now ive been modifing it... Is their anyway of increasing the Dseg size as id never be able in the time left to me to do rewrite regarding finding all the arrays and modifing as you said.
This may be a stupid question on my part as am only a part time programmer as such, so knowledge is not the greatest. Thanks for any assitance you give Mike
Andrue Cope 20 November 2003 14:10:20 [ permanent link ]
Ms,
Is their anyway of increasing the Dseg size as id never be able in the time left to me to do rewrite regarding finding all the arrays and modifing as you said.>
I believe so...but you won't like it
IIRC the DSeg shares space with the stack so if you reduce the stack size you'll gain a larger data area. I just hope you don't need a large stack.
One other possible solution is to look for a project option that is called something like "far data size threshold". Any single entity bigger than that value automatically becomes far and that moves it out of the DSeg. -- Andrue Cope [Bicester, UK]
Sorry to keep bothering people but.... Have found out about an -Ff command by surfing the net. My understanding is that any any global data value above 9 will be put into the FARDATA segment. This is my make file and have included it as shown below (-Ff=9) --------------------------------------- #for Imake #---------------------------------------
Have tried different numbers ie -Ff=100 but no joy. Have very few arrays greater than 100. Am I doing it correctly or is this even possible? Really appeciate any time spent looking at my problem Ms
Leo Siefert 20 November 2003 18:30:04 [ permanent link ]
On 20 Nov 2003 01:40:35 -0700, "ms" <msheerin@alps.ie> wrote:
"ERROR: GROUP DGROUP exceeds 64k"
Your program is compiled as a 16 bit app. If you are no longer running it in a 16 bit os (DOS or win3.x) you should be able to recompile it as a 32 bit app and solve the problem. Otherwise, try Andrue's suggestions.
Guys My only hope seems to be the -Ff command. But have tried various options for -Ff ie bcc -ml -Ff=20 -c Every value for -Ff that I use does not seem to work. Am I using it correctly above? Getting really desperate Am compiling in borland c++ version 3.1, am I in the wrong group, if so really sorry and which group would I be best to post this in? Thanks for your patience guys ms
Ed...... I hope Im not being premature but deleted all the obj files as you said and recompiled with the -Ff=20 included. THIS APPEARS TO WORK!!!! Hopefully this is my problem solved. Thanks all for your help. [My job is still safe ] You hopefuuly won't be hearing from me again on this topic Again Thanks Ms
"Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket> wrote:>Try deleting all the object files and then making the project.>
. Ed>
ms wrote in message>> news:3fc1e5b0@newsgroups.borland.com...>>
My only hope seems to be the -Ff command. But have tried>> various options for -Ff ie>> bcc -ml -Ff=20 -c>> Every value for -Ff that I use does not seem to work.>> Am I using it correctly above?>> Getting really desperate>> Am compiling in borland c++ version 3.1, am I in the wrong group,>> if so really sorry and which group would I be best to post this in?>> Thanks for your patience guys>
Try deleting all the object files and then making the project.
. Ed
ms wrote in message> news:3fc1e5b0@newsgroups.borland.com...>
My only hope seems to be the -Ff command. But have tried> various options for -Ff ie> bcc -ml -Ff=20 -c> Every value for -Ff that I use does not seem to work.> Am I using it correctly above?> Getting really desperate> Am compiling in borland c++ version 3.1, am I in the wrong group,> if so really sorry and which group would I be best to post this in?> Thanks for your patience guys
What happened is that you changed the option settings but did not recompile the object files so the new setting did not take.
A Project|Build_All would have done the same thing.
. Ed
ms wrote in message> news:3fc1fea0$1@newsgroups.borland.com...>
Ed......> I hope Im not being premature but deleted all the obj files as> you said and recompiled with the -Ff=20 included.> THIS APPEARS TO WORK!!!!> Hopefully this is my problem solved.> Thanks all for your help. [My job is still safe ]> You hopefuuly won't be hearing from me again on this topic> Again Thanks>
Ed Mulroy wrote:> >Try deleting all the object files and then making the project.
If you would like to report an abuse of our service, such as a spam message, please . Если Вы хотите пожаловаться на содержимое этой страницы, пожалуйста .