www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/29/12:01:59

Message-ID: <31FCE097.4D29@pobox.oleane.com>
Date: Mon, 29 Jul 1996 18:02:31 +0200
From: Francois Charton <deef AT pobox DOT oleane DOT com>
Organization: CCMSA
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: compiling povray 3.0 with djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 960729115002 DOT 26496A-100000 AT is>

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019