Mail Archives: djgpp/1996/07/29/12:01:59
Eli Zaretskii wrote:
> * For a module that defines large data structures, move some of the
> static data to other files, or allocate the space at runtime with
> `calloc.'
>
> Is this applicable to your case? If so, did you try this?
I'm afraid it is not : the trouble seems to come from linking a library
called pmode.a. I looked at its code, and could not see any large static
data array (or any significant amount of variables...).
later, Scott Perry wrote:
> I think the problem is with the pmode.a or ztimer.a libraries, but I'm
> no expert.pmode.a seems to be the trouble : if you put it in the end of the list in
msdosgcc.lnk, there is no complain on ztimer.a or any other, and if you
delete it from the list, no more memory exhausted error, just functions
not found...
I'll try to understand pmode.a and recompile it under djgpp... I can
understand it is difficult, as it is some kind of protected mode manager,
which may be hostile to djgpp, but I still can't figure out why the error
should happen at link time...
Regards,
Francois (who knows at last how to sppel djgpp correctly...)
- Raw text -