From: Andrew Crabtree Message-Id: <199705231559.AA083083183@typhoon.rose.hp.com> Subject: PGCC Fails on -O6 To: djgpp AT delorie DOT com Date: Fri, 23 May 1997 8:59:43 PDT Precedence: bulk Hey Guys - This is to let you know that you may need to increase the stack space for cc1.exe to get larger programs to compile with -O6. I upped it to 2MB and found that the meschach math package compiled OK. Also, FSDB (from the libc distribution), needs the extra stack space as well. Marc seems to think that 2MB may not be enough for large programs, his notes are below. Andrew > > >Fortunately, it is very easy to increase stack space. We have > >a tiny utility program called stubedit, and you run it on a > >executable, and then enter a new stack value for it. Default > > I know. But does djgpp allocate the stack space dynamically? > i.e. is making the stack size 16 megabytes disabling us from > using it on an 8 mb machine? > > >was 700K, I just increased to 2MB, so that should help. I would > >expect a segfault though, and not a total machine hang. Curious. > > I fear that 2MB is not enough to compile most programs )-: > > Some packages I've seen (DES-cipher) used 40MB of stack! > I expect 4-6MB average on larger files, but in fact I have not > measured it.