Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Accept-Language: de, en X-Priority: 3 (Normal) From: "Fabrizio Impagnatiello" MIME-Version: 1.0 subject: Malloc array size limit (2) To: cygwin AT cygwin DOT com Organization: content-type: text/plain; charset="iso-8859-1" date: Tue, 04 Mar 2003 20:58:45 +0100 content-transfer-encoding: 7bit Message-Id: <20030304195846.05EB79FC63@mail.roma.alespazio.it> 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/