www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/05/10:03:00

Date: Fri, 5 Jul 1996 09:56:39 -0400 (EDT)
From: Frank Donahoe <fdonahoe AT wilkes1 DOT wilkes DOT edu>
To: Dominique Micollet <dmicolet AT u-bourgogne DOT fr>
Cc: djgpp AT delorie DOT com
Subject: Re: [Q] Length of static arrays
In-Reply-To: <4rghnq$6qd@tempo.univ-lyon1.fr>
Message-Id: <Pine.A32.3.91.960705095007.11578B-100000@wilkes1.wilkes.edu>
Mime-Version: 1.0


On 4 Jul 1996, Dominique Micollet wrote:
;.....
> unsigned char Tableau[1024L*1024L*16L];
;....
> It compiles fine, but does not link : I got the folowing :
> e:/miko/trash/essai.o : could not read symbols : Bad value.

This message, for some strange reason, is what gcc issues when it is
out of memory.  Anyone who really needs a 1Gb Tableau had better be
prepared to craft special techniques to deal with it.

> If I reduce the size of the array to 1024*1024*15, the linking is OK.
> Curiously my computer has 16 M of memory : is there a connexion ?
QED
>       Cordialement
> 
> * Dominique MICOLLET                           *
> * Email   : Dominique DOT Micollet AT u-bourgogne DOT fr  *
Regards, Frank Donahoe

- Raw text -


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