delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/09/13:41:04

Message-Id: <m0xJGrj-000S1oC@inti.gov.ar>
Comments: Authenticated sender is <salvador AT natacha DOT inti DOT gov DOT ar>
From: "Salvador Eduardo Tropea (SET)" <salvador AT inti DOT edu DOT ar>
Organization: INTI
To: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
Date: Thu, 9 Oct 1997 14:47:38 +0000
MIME-Version: 1.0
Subject: Re: Compiler crashes...
CC: djgpp AT delorie DOT com

Eli wrote:
> On Thu, 9 Oct 1997, Salvador Eduardo Tropea (SET) wrote:
> 
> > And the error was ouf of virtual and not an stack fault, that's the most 
> > strange part.
> 
> Why is that strange?  Is there any reason to believe that cc1 allocates 
> all the space it needs to compile that code on its stack?  For all I 
> know, it can just as well call malloc.  Then it would say "out of virtual 
> memory".  No?
Seems that gcc isn't just calling malloc (or calloc) to create the array. Seems 
that a lot of tasks are involved in this simple thing so I can beleive that a 
256Kb couldn't be enough but not Mbs of virtual memory. 
If  was getting simple crashes I was tried enlarging the stack.

SET
------------------------------------ 0 --------------------------------
Visit my home page: http://www.geocities.com/SiliconValley/Vista/6552/
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Alternative e-mail: set-sot AT usa DOT net - ICQ: 2951574
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA
TE: +(541) 759 0013

- Raw text -


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