libretro / blastem

Upstream tracking repo of BlastEm, the fast and accurate Genesis emulator, with libretro specific changes
https://www.retrodev.com/blastem/
GNU General Public License v3.0
54 stars 25 forks source link

Build error on RISC-V architecture. #43

Open qyl27 opened 4 months ago

qyl27 commented 4 months ago

Does blastem has not supported RISC-V?

Logs:

make: Entering directory '/build/libretro-blastem/src/libretro-blastem'
make libblastem.so OS=Linux CC=cc CPU=x86_64 LIBRETRO=1
make[1]: Entering directory '/build/libretro-blastem/src/libretro-blastem'
cc -O2 -flto -march=rv64gc -mabi=lp64d -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection         -fno-omit-frame-pointer -g -ffile-prefix-map=/build/libretro-blastem/src=/usr/src/debug/libretro-blastem -flto=auto -std=gnu99 -Wreturn-type -Werror=return-type -Werror=implicit-function-declaration -Wno-unused-value  -Wpointer-arith -Werror=pointer-arith -DHAS_PROC -DHAVE_UNISTD_H -DX86_64 -m64 -fpic -DIS_LIB -c -o libblastem.o libblastem.c
cc: error: unrecognized command-line option ‘-m64’
make[1]: *** [Makefile:366: libblastem.o] Error 1
make[1]: Leaving directory '/build/libretro-blastem/src/libretro-blastem'
make: *** [Makefile.libretro:61: core] Error 2
make: Leaving directory '/build/libretro-blastem/src/libretro-blastem'
hizzlekizzle commented 4 months ago

correct, blastem is tied to the x86 architecture currently. The upstream author is working on fast interpreters that should be portable across architectures, but I don't think any of that is in a usable state yet.