diff --git a/Linux-Build.md b/Linux-Build.md index d135786..6edfa18 100644 --- a/Linux-Build.md +++ b/Linux-Build.md @@ -13,35 +13,44 @@ You'll need to download and install the following to build Citra: Works by calling these commands from a terminal: -
git clone https://github.com/glfw/glfw.git +``` +git clone https://github.com/glfw/glfw.git cd glfw mkdir build && cd build cmake .. make -sudo make install+sudo make install +``` ### Build Citra: -
mkdir build +``` +mkdir build cd build cmake .. make sudo make install (currently doesn't work, needs to be fixed) -Optionally, you can use "cmake -i .." to adjust various options (e.g. disable Qt4 GUI).+``` +Optionally, you can use "cmake -i .." to adjust various options (e.g. disable Qt4 GUI). ### Building with debug symbols: -
cmake .. -DCMAKE_BUILD_TYPE=Debug -make+``` +cmake .. -DCMAKE_BUILD_TYPE=Debug +make +``` ### Running without installing: -
cd data -../build/src/citra_qt/citra-qt+```cd data +../build/src/citra_qt/citra-qt +``` ### Debugging: -
cd data +``` +cd data gdb ../build/src/citra_qt/citra-qt (gdb) run -(gdb) bt\ No newline at end of file +(gdb) bt +``` \ No newline at end of file