Arrays size with gcc compiler
Laurent Pinchart
laurent.pinchart@capflow.com
Fri Mar 1 02:23:00 GMT 2002
>
>
>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
More information about the Gcc-help
mailing list