Mail Archives: djgpp/1997/10/09/13:41:04
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 -