Mail Archives: djgpp/1996/02/18/02:58:12
On Tue, 13 Feb 1996, Minxian Yang wrote:
> The djgpp V2 succeeded in compiling one of my old program.
> The command line used was
>
> gcc test.c -o test.exe -larc1
>
> But when running the EXE file, the computer says
>
> "Exiting due to singal SIGSEGV"
>
> and refuses to go. Any help is appreciated.
Recompile your program (and the contents of the libarc1.a library) with -g
switch, link it with this command line:
gcc -g test.c -o test -larc1
then run it again from the same directory you keep its sources. While the
message the program prints when it crashes is still on screen, type the
following words of wisdom:
symify test
You will see the names of the source files and the line numbers which
caused your program to crash. Look at those source lines and try to
debug the reason.
- Raw text -