From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1103af,963c446b36150167 X-Google-Attributes: gid1103af,public X-Google-Thread: f9b51,963c446b36150167 X-Google-Attributes: gidf9b51,public X-Google-Thread: 111c93,963c446b36150167 X-Google-Attributes: gid111c93,public X-Google-Thread: 1014db,963c446b36150167 X-Google-Attributes: gid1014db,public From: Volker Hetzer Subject: Re: max. array size GNU C compiler... Date: 1999/08/20 Message-ID: <37BD2817.5EB6A22B@abg1.siemens.de>#1/1 X-Deja-AN: 515052031 Content-Transfer-Encoding: 7bit References: <37BC4252.F83CD3E@ekkinc.com> Organization: Siemens Inc. Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 Newsgroups: comp.lang.c,comp.os.linux.setup,comp.os.linux.misc,comp.os.linux.alpha EKK wrote: > > What is the maximum array size, using GNU C compiler? > > It looks like g77 complains after about 12000000. %cat tst.c char X[120000000]; %gcc -c -o tst.o tst.c % no problem here (HP-UX). Greetings! Volker -- Hi! I'm a signature virus! Copy me into your signature file to help me spread!