Date: Wed, 15 Dec 1999 19:42:41 -0600 From: Dan Nelson <dnelson@emsphone.com> To: Brendan Kosowski <brendan@bmk.com.au> Cc: FreeBSD Questions <freebsd-questions@FreeBSD.ORG> Subject: Re: GCC and Arrays bigger than 8MB Message-ID: <19991215194241.A9835@dan.emsphone.com> In-Reply-To: <Pine.BSF.3.96.991216120449.12061A-100000@garfield>; from "Brendan Kosowski" on Thu Dec 16 12:11:41 GMT 1999 References: <Pine.BSF.3.96.991216120449.12061A-100000@garfield>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 16), Brendan Kosowski said: > > I get a segmentation fault when I try to execute a prog compiled with gcc > when my arrays are bigger than 8 Megabytes. > > How do I tell gcc that I want to use BIG arrays ??? > Change your resource limits in your shell. The default is for an 8MB stack. An alternative is to malloc your array storage. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991215194241.A9835>