My C arrays are too large

Blair, Charles E III c-blair@illinois.edu
Fri Sep 13 12:18:00 GMT 2019


My apologies for failing to reply on-list.  I don't know how :(

My machine is 64 bit, and I hope I installed the correct version of cygwin.

This program:

#include<stdio.h>
int main(){char *a[50][8192];
return 0;}

compiles with gcc  (no special options) but gives "Segmentation fault".

-----------------------------------------------------------------------------------

My e-mail system is unreliable.  Please write again if you do not receive a reply in a few days.  gpg key is available from keyservers.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list