diff --git a/Compilation-guide-(Linux).md b/Compilation-guide-(Linux).md index 714fc92..fe88a74 100644 --- a/Compilation-guide-(Linux).md +++ b/Compilation-guide-(Linux).md @@ -4,33 +4,43 @@ Compilation on Linux and BSD does not have many surprises, as its foundation is - At least one libretro implementation - pkgconfig - Working OpenGL headers (should be included by default, but you might need to install libgl/mesa development packages) -- zlib-devel + ### Optional dependencies -- libxml2 - For XML shaders and cheat support. -- freetype - TTF font rendering +- libxml2-devel - For XML shaders and cheat support. +- freetype-devel - TTF font rendering - ffmpeg/libavcodec - FFmpeg recording - nvidia-cg-toolkit - Cg shaders +- libudev-devel +- zlib-devel Some other libraries can be built support for as well, please refer to `./configure --help`. -### Building libretro cores -You should at least build one libretro implementation so RetroArch can do stuff. -There is a [super-project](https://github.com/libretro/libretro-super) that is designed to easily build every libretro port out there. To build every core: +### Getting the code ```bash git clone git://github.com/libretro/libretro-super.git cd libretro-super sh libretro-fetch.sh -sh libretro-build.sh -sh libretro-install.sh ``` - + +This guide assumes you'd like to install retroarch into a folder called `~/ra` + ### Building RetroArch ```bash cd retroarch ./configure # Script will autodetect features. Refer to --help if you want to override anything, such as --prefix. make -sudo make install +make DESTDIR=~/ra install +``` + +### Building libretro cores +You should at least build one libretro implementation so RetroArch can do stuff. +There is a [super-project](https://github.com/libretro/libretro-super) that is designed to easily build every libretro port out there. To build every core: +```bash +cd .. #to libretro-super directory +sh libretro-build.sh +mkdir ~/ra/cores +sh libretro-install.sh ~/ra/cores ``` ### Building RetroArch-Phoenix (GUI launcher)