This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Arrays size with gcc compiler


>
>
>Apparently the compiler is quite limited in terms of the
>of the size of the arrays that I use. For
>Example I cannot use matrices (double variables)
>Larger than 1000 X 1000. Things are ven worst when
>I use 3 or multidimensional arrays.
>
How do you declare your variables ? If they are local variables, 
allocated on the stack, then you are limited by the stack size. You 
should rather explicitely malloc() and free() your arrays.

Laurent Pinchart



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]