forked from azamorapl/doom64-complete-edition
-
Notifications
You must be signed in to change notification settings - Fork 1
/
installation commands.txt
53 lines (28 loc) · 1.13 KB
/
installation commands.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
sudo -s
sudo apt update
sudo apt-get install build-essential make dpkg-dev
wget https://github.com/ModernN64SDK/n64sdkmod/archive/refs/heads/master.zip
unzip master.zip
cd n64sdkmod-master/
make
cd debs
apt-get install gdebi
// Now you have to double click and install files in this folder
sudo apt-get install ./binutils-mips-n64_2.39-1_amd64.deb
sudo apt-get install ./gcc-mips-n64_12.2.0-1_amd64.deb
sudo apt-get install ./newlib-mips-n64_4.3.0.20230120-3-1_amd64.deb
sudo apt-get install ./n64sdk-common.deb
sudo apt-get install ./n64sdk.deb
sudo apt-get install ./makemask.deb
----------------------------------------------
LTO Stuff
git clone https://github.com/ModernN64SDK/libultra_modern
cd libultra_modern
in this folder add -ffat-lto-objects -flto=auto to the OPT_FLAGS of Makefile
sudo apt install build-essential python3
https://github.com/ModernN64SDK/libultra_modern?tab=readme-ov-file
// Use this when building with LTO so it can find link time optimization
PATH=$PATH:/opt/crashsdk/bin; export PATH
make
then to build the ROM go to doom64
./make-rom.sh