mirror of
https://github.com/HarbourMasters/SpaghettiKart
synced 2026-06-24 17:53:29 -04:00
Deploying to gh-pages from @ HarbourMasters/SpaghettiKart@575d860e5d 🚀
This commit is contained in:
+12
-12
@@ -114,7 +114,7 @@ $(function(){initNavTree('compiling.html',''); initResizable(true); });
|
||||
<a href="#build-instructions">Build Instructions</a>
|
||||
</li>
|
||||
<li class="level1">
|
||||
<a href="#linux">Linux</a>
|
||||
<a href="#linux-1">Linux</a>
|
||||
<ul>
|
||||
<li class="level2 empty">
|
||||
<ul>
|
||||
@@ -122,17 +122,17 @@ $(function(){initNavTree('compiling.html',''); initResizable(true); });
|
||||
<a href="#ubuntu">Ubuntu</a>
|
||||
</li>
|
||||
<li class="level3">
|
||||
<a href="#fedora">Fedora</a>
|
||||
<a href="#fedora-1">Fedora</a>
|
||||
</li>
|
||||
<li class="level3">
|
||||
<a href="#arch">Arch</a>
|
||||
<a href="#arch-1">Arch</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="level1">
|
||||
<a href="#windows">Windows</a>
|
||||
<a href="#windows-1">Windows</a>
|
||||
<ul>
|
||||
<li class="level2 empty">
|
||||
<ul>
|
||||
@@ -144,10 +144,10 @@ $(function(){initNavTree('compiling.html',''); initResizable(true); });
|
||||
</ul>
|
||||
</li>
|
||||
<li class="level1">
|
||||
<a href="#macos">macOS</a>
|
||||
<a href="#macos-1">macOS</a>
|
||||
</li>
|
||||
<li class="level1">
|
||||
<a href="#docker">Docker</a>
|
||||
<a href="#docker-1">Docker</a>
|
||||
</li>
|
||||
<li class="level1">
|
||||
<a href="#building-us">Building US</a>
|
||||
@@ -164,23 +164,23 @@ python3 >= 3.6
|
||||
libaudiofile
|
||||
</pre><p>To add submodules run <code>git submodule update --init --recursive</code> after cloning.</p>
|
||||
<p>Run <code>make assets</code> to extract assets.</p>
|
||||
<h1><a class="anchor" id="linux"></a>
|
||||
<h1><a class="anchor" id="linux-1"></a>
|
||||
Linux</h1>
|
||||
<h3><a class="anchor" id="ubuntu"></a>
|
||||
Ubuntu</h3>
|
||||
<div class="fragment"><div class="line">sudo apt install cmake build-essential pkg-config git binutils-mips-linux-gnu python3 zlib1g-dev libaudiofile-dev libcapstone-dev</div>
|
||||
</div><!-- fragment --><h3><a class="anchor" id="fedora"></a>
|
||||
</div><!-- fragment --><h3><a class="anchor" id="fedora-1"></a>
|
||||
Fedora</h3>
|
||||
<div class="fragment"><div class="line">sudo dnf install make automake gcc gcc-c++ kernel-devel cmake pkg-config git python3 zlib-devel audiofile-devel capstone</div>
|
||||
</div><!-- fragment --><p> and install <a href="https://github.com/DragonMinded/libdragon/releases/tag/toolchain-continuous-prerelease">gcc toolchain of libdragon</a> and add <code>export PATH="/opt/libdragon/bin:$PATH"</code> to ~/.bashrc</p>
|
||||
<h3><a class="anchor" id="arch"></a>
|
||||
<h3><a class="anchor" id="arch-1"></a>
|
||||
Arch</h3>
|
||||
<div class="fragment"><div class="line">sudo pacman -S base-devel capstone python</div>
|
||||
</div><!-- fragment --><p> Install the following AUR package:</p><ul>
|
||||
<li><a href="https://aur.archlinux.org/packages/mips64-elf-binutils">mips64-elf-binutils</a> (AUR)</li>
|
||||
</ul>
|
||||
<p>Review the <a href="https://github.com/n64decomp/sm64">n64decomp/sm64</a> readme for instructions to compile in other distributions.</p>
|
||||
<h1><a class="anchor" id="windows"></a>
|
||||
<h1><a class="anchor" id="windows-1"></a>
|
||||
Windows</h1>
|
||||
<ul>
|
||||
<li>Clone the repo or download the zip.</li>
|
||||
@@ -193,12 +193,12 @@ Setup</h3>
|
||||
<li>Open a terminal (cmd or powershell) in the repo folder and run <code>"tools\mingw64\w64devkit.exe"</code> and after <code>make assets && make -j</code></li>
|
||||
<li>Wait for the build to finish and Enjoy!</li>
|
||||
</ul>
|
||||
<h1><a class="anchor" id="macos"></a>
|
||||
<h1><a class="anchor" id="macos-1"></a>
|
||||
macOS</h1>
|
||||
<p>Install <a href="https://brew.sh">Homebrew</a>, then install the following dependencies: </p><div class="fragment"><div class="line">brew update</div>
|
||||
<div class="line">brew install python3 capstone coreutils make pkg-config tehzz/n64-dev/mips64-elf-binutils</div>
|
||||
</div><!-- fragment --><p>Build using <code>gmake</code> ensuring homebrew <code>make</code> is used instead of the old macOS system <code>make</code>.</p>
|
||||
<h1><a class="anchor" id="docker"></a>
|
||||
<h1><a class="anchor" id="docker-1"></a>
|
||||
Docker</h1>
|
||||
<p>Build the Docker image: </p><div class="fragment"><div class="line">docker build -t mk64 .</div>
|
||||
</div><!-- fragment --><p>When building and using other tools, append the following in front of every command you run: </p><div class="fragment"><div class="line">docker run --rm -v .:/mk64 mk64</div>
|
||||
|
||||
Reference in New Issue
Block a user