libretro / docs

This is a repo of the RetroArch official document page.
https://docs.libretro.com/
MIT License
259 stars 462 forks source link

for Linux_arm32? #994

Closed 2494654220 closed 1 month ago

2494654220 commented 1 month ago

How to build a core suitable for Linux_arm32? I want to use it for the EMUELEC system. I have tried multiple compilation methods, but the SO core I created cannot be used

gouchi commented 1 month ago

Hi,

It is more related to EmuELEC build system as we don't provide arm build.

You will need to use master_32bit branch of EmuELEC.

Build setup

sudo apt update && sudo apt upgrade
sudo apt-get install gcc make git unzip wget xz-utils libsdl2-dev libsdl2-mixer-dev libfreeimage-dev libfreetype6-dev libcurl4-openssl-dev rapidjson-dev libasound2-dev libgl1-mesa-dev build-essential libboost-all-dev cmake fonts-droid-fallback libvlc-dev libvlccore-dev vlc-bin texinfo premake4 golang libssl-dev curl patchelf xmlstarlet
git clone https://github.com/shantigilbert/EmuELEC.git EmuELEC    
cd EmuELEC  
git checkout master_32bit  

Depending of your device, you should build the package with something for Amlogic devices

PROJECT=Amlogic ARCH=arm DISTRO=EmuELEC scripts/clean package-name
PROJECT=Amlogic ARCH=arm DISTRO=EmuELEC scripts/build package-name

Please close this issue.

Thank you.