Skip to content

Commit

Permalink
add GCC 2.8.0-mipsel for PSX (#845)
Browse files Browse the repository at this point in the history
add GCC 2.8.0
  • Loading branch information
sonicdcer authored Sep 10, 2023
1 parent a7608e8 commit f551e82
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/compilers/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -593,14 +593,15 @@ def download_ps1():

# vanilla gcc + maspsx patch

old_gcc_base_url = "https://github.com/decompals/old-gcc/releases/download/0.2"
old_gcc_base_url = "https://github.com/decompals/old-gcc/releases/download/0.3"
old_gcc_urls = {
"gcc2.6.3-psx": f"{old_gcc_base_url}/gcc-2.6.3-psx.tar.gz",
"gcc2.6.3": f"{old_gcc_base_url}/gcc-2.6.3.tar.gz",
"gcc2.7.1": f"{old_gcc_base_url}/gcc-2.7.1.tar.gz",
"gcc2.7.2": f"{old_gcc_base_url}/gcc-2.7.2.tar.gz",
"gcc2.7.2.1": f"{old_gcc_base_url}/gcc-2.7.2.1.tar.gz",
"gcc2.7.2.3": f"{old_gcc_base_url}/gcc-2.7.2.3.tar.gz",
"gcc2.8.0": f"{old_gcc_base_url}/gcc-2.8.0.tar.gz",
"gcc2.8.1": f"{old_gcc_base_url}/gcc-2.8.1.tar.gz",
"gcc2.91.66": f"{old_gcc_base_url}/gcc-2.91.66.tar.gz",
"gcc2.95.2": f"{old_gcc_base_url}/gcc-2.95.2.tar.gz",
Expand All @@ -612,6 +613,7 @@ def download_ps1():
"gcc2.7.2": "gcc2.7.2-mipsel",
"gcc2.7.2.1": "gcc2.7.2.1-mipsel",
"gcc2.7.2.3": "gcc2.7.2.3-mipsel",
"gcc2.8.0": "gcc2.8.0-mipsel",
"gcc2.8.1": "gcc2.8.1-mipsel",
"gcc2.91.66": "gcc2.91.66-mipsel",
"gcc2.95.2": "gcc2.95.2-mipsel",
Expand Down
7 changes: 7 additions & 0 deletions backend/coreapp/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,6 +387,12 @@ def preset_from_name(name: str) -> Optional[Preset]:
cc=PS1_GCC,
)

GCC280_MIPSEL = GCCPS1Compiler(
id="gcc2.8.0-mipsel",
platform=PS1,
cc=PS1_GCC,
)

GCC281_MIPSEL = GCCPS1Compiler(
id="gcc2.8.1-mipsel",
platform=PS1,
Expand Down Expand Up @@ -1141,6 +1147,7 @@ def preset_from_name(name: str) -> Optional[Preset]:
GCC2672MIPSEL,
GCC2721_MIPSEL,
GCC2723_MIPSEL,
GCC280_MIPSEL,
GCC281_MIPSEL,
GCC29166_MIPSEL,
GCC2952_MIPSEL,
Expand Down
1 change: 1 addition & 0 deletions frontend/src/lib/i18n/locales/en/compilers.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"gcc2.7.2sn": "GCC 2.7.2 (SN)",
"gcc2.7.2snew": "GCC 2.7.2 (SN, experimental)",
"gcc2.8.1sn-cxx": "GCC 2.8.1 (SN) (C++)",
"gcc2.8.0": "GCC 2.8.0",
"gcc2.8.1": "GCC 2.8.1",
"gcc4.4.0-mips64-elf": "GCC 4.4.0 (mips64-elf)",
"ido5.3_irix": "IDO 5.3",
Expand Down

0 comments on commit f551e82

Please sign in to comment.