Mail Archives: djgpp/1997/03/04/06:34:42
On Mon, 3 Mar 1997, Paul Derbyshire wrote:
> Well, the source is quite lengthy. About sixty K, 5000 lines. In fact I
> have just begun breaking it into smaller .c modules.
If the source is large, chances are cc1.exe is overflowing its runtime
stack when optimizing (FAQ, section 6.3). Try stubediting it to
enlarge the stack to, say, 1MB, and see if that helps.
> The command line was:
>
> gcc -g -O3 -m486 -fforce-addr -fomit-frame-pointer -Wall -o mquest.o
> -c mquest.c
>
> Maybe there's some subtlety of GCC that makes two of those switches
> incompatible...?
Does the problem go away when you omit one of the other switches?
Anyway, this precise command worked for me on a small test program, so
the options per se aren't the problem.
- Raw text -