Problem getting gfortran signal implementation to work (MingW64 4.5.1)
Tobias Burnus
burnus@net-b.de
Fri May 6 20:07:00 GMT 2011
Janne Blomqvist wrote:
> On Fri, May 6, 2011 at 20:24, Steve Kargl
> <sgk@troutmask.apl.washington.edu> wrote:
>> I do however suspect that when -fbacktrace came
>> into being that the expectation was that other
>> OSs would implement GLIBC's backtrace() function.
> Looking at the code, if GLIBC backtrace() is not available, it tries
> to use the pstack utility which should be available at least on
> Solaris, and according to Google FreeBSD also has it
Backtracing could also be implemented for MinGW64 - and probably also
for MinGW. A snippet which could be used as basis can be found in the
attachment of PR 46686 - using it, backtracing shouldn't be too
difficult to implement.
Cf. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46686
Tobias
More information about the Fortran
mailing list