On MinGW,
The swig wrapping fails with the following. It looks like swig does not know what sigaction is. It builds fine on Linux but something is missing to build on MinGW. I think I have to include signal.h somewhere for swig to get it but I don't know where.
FEniCS/src/dolfin/dorsal_build_dir/dolfin/swig/modules/common/modulePYTHON
_wrap.cxx:4674:24: error: aggregate 'dolfin::dolfin_terminate()::sigaction act' has incomplete type
and cannot be defined
struct sigaction act;
^
FEniCS/src/dolfin/dorsal_build_dir/dolfin/swig/modules/common/modulePYTHON
_wrap.cxx:4677:36: error: invalid use of incomplete type 'struct dolfin::dolfin_terminate()::sigaction'
sigaction(SIGABRT, &act, NULL);
^
FEniCS/src/dolfin/dorsal_build_dir/dolfin/swig/modules/common/modulePYTHON
_wrap.cxx:4674:14: note: forward declaration of 'struct dolfin::dolfin_terminate()::sigaction'
struct sigaction act;
According to this SO thread, configuring with
could help. Can you try it?