libretro / vice-libretro

Versatile Commodore 8-bit Emulator
GNU General Public License v2.0
40 stars 70 forks source link

Cross-compiling for generic ARM (Cortex A9, no NEON, vfp3) not working #415

Closed andymcca closed 3 years ago

andymcca commented 3 years ago

I get a 'Relocations in generic Elf (EM: 40)' message at the end of compiling, for libretro-core.o. Also 'error adding symbols'.

I'm guessing that this is a compiler issue, or rather, different files being compiled using different paramaters in the Makefile, but I can't figure out how to fix it.

andymcca commented 3 years ago

I've figured it out and it's my mistake - reusing a .mk file from another package which doesn't specify the CXX compiler!!! D'oh :-(