Again on same issue. if I compile the following source with -mno-cygwin option, the EXE code allocating up to 1 GByte runs good.
#define Meg 1078516 int a[220*Meg]; int main(int *argc, char **argv) { int i; for (i=0; i<220*Meg; i++) { a[i] = 102 + i; } printf("A[10000]=%d\n",a[10000]); return 0; } If the option is removed, the cygwin1.dll fails. Fabrizio Impagnatiello Alenia Spazio S.p.A. Rome - Italy -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/