..In function sqUnixMain.c: In function 'sigsegv':
include_ucontext.h:48:37: error 'mcontext_t'
has no member 'arm_pc'
I note in
/usr/include/aarch64_linux_gnu/asm/sigcontext.h member 'pc' but not 'arm_pc'
I am guessing this is from the include_ucontext.h line
#elif __linux__ && __arm__
Where do I set/override __arm__ with (__aarch64__ or __armv8-a__ or __arm64__) ?
What is the preferred __*__ to use?
Use all those that commonly apply. For example look at spur64src/vm/cogit.c which attempts to include either cogitX64SysV.c or cogitX64WIN64.c depending on whether the system, is an x86_64 and whether this is SysV or _WIN64. These use the following defines to see if the platform is x86_64: