From 66d93a97dc4ce90fae823f25606c312e1e2cd244 Mon Sep 17 00:00:00 2001 From: Geoffrey Plitt Date: Fri, 13 Feb 2015 14:43:07 -0800 Subject: [PATCH] added linux build instructions, Vagrantfile to prove it, and updated .gitignore --- .gitignore | 3 +++ README.md | 11 +++++++++++ Vagrantfile | 20 ++++++++++++++++++++ 3 files changed, 34 insertions(+) create mode 100644 Vagrantfile diff --git a/.gitignore b/.gitignore index c8a1c1c3ed..59164633e7 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,6 @@ apple/RetroArch_iOS.xcodeproj/project.xcworkspace/* apple/iOS/build/ apple/iOS/modules/ + +obj-unix/ +.vagrant/ diff --git a/README.md b/README.md index f044800b76..f93ac9d75c 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,17 @@ Users only need to configure a certain option if the desired value deviates from To configure joypads, use the built-in menu or the retroarch-joyconfig command-line tool. ## Compiling and installing +Linux
+- Prerequisites: +```bash +sudo apt-get install -y make git-core curl g++ pkg-config libglu1-mesa-dev freeglut3-dev mesa-common-dev libsdl1.2-dev libsdl-image1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev +``` +- ```bash +./configure +``` +- ```bash +make +``` Mac
- Prerequisites: [XCode](https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0CB4QFjAA&url=https%3A%2F%2Fitunes.apple.com%2Fus%2Fapp%2Fxcode%2Fid497799835%3Fmt%3D12&ei=ZmfeVNPtIILVoASBnoCYBw&usg=AFQjCNGrxKmVtXUdvUU3MhqZhP4MHT6Gtg&sig2=RIXKsWQ79YTQBt_lK5fdKA&bvm=bv.85970519,d.cGU), [Cg](https://developer.nvidia.com/cg-toolkit-download). diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000000..ba1537375e --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,20 @@ +Vagrant.configure("2") do |config| + config.vm.box = "ubuntu/trusty64" + config.vm.provision :shell, :inline => $BOOTSTRAP_SCRIPT # see below +end + +$BOOTSTRAP_SCRIPT = <