Hi,
Can I build libsigsegv-2.12 (from official tar.gz) using mingw-w64-v7.0.0.tar.bz2 (and gcc-5.5.0)? I am using mingw provided by
https://mxe.cc/ to cross compile on a centos7.
When I use './configure --host=i686-w64-mingw32.shared && make' all goes fine, but when I try './configure --host=x86_64-w64-mingw32.shared && make' make fails with:
handler-win32.c: In function 'main_exception_filter':
handler-win32.c:218:43: error: 'struct _CONTEXT' has no member named 'Esp'
ExceptionInfo->ContextRecord->Esp = new_safe_esp;
^
handler-win32.c:220:43: error: 'struct _CONTEXT' has no member named 'Eip'
ExceptionInfo->ContextRecord->Eip = (uintptr_t)&stack_overflow_handler;
^
I tried previously with latest master branch (commit c9a0c20) but got same error.
I saw a similar error from 2011 [1], but I could not find I solution so far.
I would greatly appreciate any direction on how to solve this, I can code too if necessary, I have some free time and great interest.