libretro / dolphin

Dolphin is a GameCube / Wii emulator, allowing you to play games for these two platforms on PC with improvements.
https://dolphin-emu.org/
GNU General Public License v2.0
85 stars 67 forks source link

Dolphin Compile on ARM #9

Open mrfixit3000 opened 6 years ago

mrfixit3000 commented 6 years ago

Compilation error when building DolphinLibretro on ARM:

In file included from /home/adam/Leia/build.LibreELEC-ROCK64.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/bits/types/stack_t.h:23:0, from /home/adam/Leia/build.LibreELEC-ROCK64.arm-9.0-devel/toolchain/armv8a-libreelec-linux-gnueabi/sysroot/usr/include/signal.h:299, from ../Core/MachineContext.h:89, from ../Core/PowerPC/JitInterface.h:10, from ../Core/Core.cpp:60: ../Core/MachineContext.h: In function 'u64 ContextRN(SContext, int)': ../Core/MachineContext.h:95:17: error: 'SContext {aka struct sigcontext}' has no member named 'gregs'

define CTX_RAX gregs[REG_RAX]

             ^
inactive123 commented 6 years ago

It now compiles for AArch64.