How to Compile RetroArch?

Ok I want to learn how to compile RA for the OpenElec platform, rather than relying on people doing the hard work I’d like to learn how to do the work myself, is there any tutorials about that can help me to get started??

You’ll have to look into how OpenElec compiles things (I think they use a cross-compile toolchain…?), but for the RetroArch part, it’s just a matter of collecting the dependencies and then doing ./configure && make.

This file has the dependencies listed (under the ‘build-depends’ line):