delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/21/08:59:47

To: kurgan AT dist DOT dist DOT unige DOT it (Paolo Baiardi)
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: f2c compiled with gpp
Date: Wed, 21 Sep 94 13:29:47 +0200
From: eliz AT is DOT elta DOT co DOT il

> I've recently compiled the f2c utility with gpp ( thanks DJ! ), starting 
> from the general Unix sources.
> ...
> The program died without explicit reasons, or reporting SIGSEV in internal 
> routines.

Two questions.  (1) Did you get the latest version of f2c?  The old one
*did* have segment violations sometimes (the problems were in the libraries,
not in the generated code).  The new version is available by anon ftp from
netlib.att.com, directory netlib/f2c; it's dated Sep 94.
(2) Does the converted program dump core on a Unix machine, if compiled with
the same switches as in original makefiles?

Generally, I would say that if a program dies with symbols stripped, but
lives with them, there is a subtle bug in that program.  Too bad you
cannot debug with gdb, but maybe ye good ole printf() debugging will
help you pinpoint the problem?  Also try using symify, it can still
narrow the search area where to look for the bug.

	Eli Zaretskii

- Raw text -


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