On 19 Feb 2006 at 21:10, Waldek Hebisch wrote: [...]
Omit `-fautomake' from the command line (if needed compile all imported units first, using `--interface-only' to avoid problems with cyclic imports). If you really need automake (that is crash is inside automake machinery) then my remark about `-famtmpfile=fooo' applies (the gpc1 executable issues the message above when `-fautomake' is given without `-famtmpfile=fooo').
This is the result:
(gdb) run -famtmpfile=foo -fautomake -fextended-syntax -fignore- function-results -fno-io-checking -fno-stack-checking -fimplicit-result -fdelphi-method- shadowin g cwindows.pas Starting program: f:/mingw/libexec/gcc/mingw32/3.4.5/gpc1.exe - famtmpfile=foo -f automake -fextended-syntax -fignore-function-results -fno-io-checking - fno-stack -checking -fimplicit-result -fdelphi-method-shadowing cwindows.pas
Program received signal SIGSEGV, Segmentation fault. yyprocessOneStack (yystack=0x174fde0, yyk=0, yyposn=1999, yylvalp=0x80c010, yyllocp=0x80c014) at parse.c:8436 8436 parse.c: No such file or directory. in parse.c (gdb) bt #0 yyprocessOneStack (yystack=0x174fde0, yyk=0, yyposn=1999, yylvalp=0x80c010, yyllocp=0x80c014) at parse.c:8436 #1 0x00410f23 in main_yyparse () at parse.c:9345 #2 0x005147be in toplev_main (argc=10, argv=0x122490) at ../../gcc/toplev.c:1822 #3 0x0054f06a in main (argc=10, argv=0x122490) at ../../gcc/main.c:35 (gdb) Best regards, The Chief -------- Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/