From 46f35f9e12459cb822e9b7bc141fda155be41806 Mon Sep 17 00:00:00 2001 From: l3iggs Date: Sun, 15 Jun 2014 20:07:50 -0700 Subject: [PATCH] Updated Compilation guide (Linux) (markdown) --- Compilation-guide-(Linux).md | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) 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)