Date: Sun, 18 Feb 1996 09:48:16 +0200 (IST) From: Eli Zaretskii To: Minxian Yang Cc: djgpp AT delorie DOT com Subject: Re: Help needed for djgpp V2 In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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.