www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/02/18/02:58:12

Date: Sun, 18 Feb 1996 09:48:16 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Minxian Yang <s9001200 AT vmsuser DOT acsu DOT unsw DOT EDU DOT AU>
Cc: djgpp AT delorie DOT com
Subject: Re: Help needed for djgpp V2
In-Reply-To: <s9001200.24.824188206@csdvax.csd.unsw.edu.au>
Message-Id: <Pine.SUN.3.91.960218094409.28845K-100000@is>
Mime-Version: 1.0

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019