This commit is contained in:
MegaMech
2025-06-26 17:43:24 +00:00
parent c193837439
commit 6b0aa29df3
39 changed files with 364 additions and 364 deletions
+10 -10
View File
@@ -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,7 +144,7 @@ $(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>
@@ -164,23 +164,23 @@ python3 &gt;= 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,7 +193,7 @@ 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 &amp;&amp; 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>