mirror of
https://github.com/decompme/decomp.me.git
synced 2026-02-20 05:19:23 -06:00
Add GCC 4.4.0 (#725)
This commit is contained in:
@@ -511,6 +511,17 @@ def download_n64():
|
||||
dest_name="egcs_1.1.2-4",
|
||||
)
|
||||
|
||||
# libdragon
|
||||
dest = COMPILERS_DIR / "gcc4.4.0-mips64-elf"
|
||||
if dest.is_dir():
|
||||
print(f"{dest} already exists, skipping")
|
||||
else:
|
||||
dest.mkdir()
|
||||
download_tar(
|
||||
url="https://github.com/devwizard64/gcc4.4.0-mips64-elf/releases/download/latest/gcc4.4.0-mips64-elf.tar.gz",
|
||||
dest_name="gcc4.4.0-mips64-elf",
|
||||
)
|
||||
|
||||
|
||||
def download_ps1():
|
||||
if host_os != LINUX:
|
||||
|
||||
@@ -534,6 +534,12 @@ EGCS1124 = GCCCompiler(
|
||||
cc='COMPILER_PATH="${COMPILER_DIR}" "${COMPILER_DIR}"/mips-linux-gcc -c -G 0 -fno-PIC -mgp32 -mfp32 -mcpu=4300 -nostdinc ${COMPILER_FLAGS} "${INPUT}" -o "${OUTPUT}"',
|
||||
)
|
||||
|
||||
GCC440MIPS64ELF = GCCCompiler(
|
||||
id="gcc4.4.0-mips64-elf",
|
||||
platform=N64,
|
||||
cc='"${COMPILER_DIR}"/bin/mips64-elf-gcc -c $COMPILER_FLAGS "$INPUT" -o "$OUTPUT"',
|
||||
)
|
||||
|
||||
# MACOS9
|
||||
MWCPPC_CC = 'printf "%s" "${COMPILER_FLAGS}" | xargs -x -- ${WINE} "${COMPILER_DIR}/MWCPPC.exe" -o object.o "${INPUT}" && printf "%s" "-dis -h -module ".${FUNCTION}" -nonames -nodata" | xargs -x -- ${WINE} "${COMPILER_DIR}/MWLinkPPC.exe" "${OUTPUT}" > "${OUTPUT}.s" && python3 ${COMPILER_DIR}/convert_gas_syntax.py "${OUTPUT}.s" ".${FUNCTION}" > "${OUTPUT}_new.s" && powerpc-linux-gnu-as "${OUTPUT}_new.s" -o "${OUTPUT}"'
|
||||
|
||||
@@ -895,6 +901,7 @@ _all_compilers: List[Compiler] = [
|
||||
GCC281,
|
||||
GCC281SNCXX,
|
||||
EGCS1124,
|
||||
GCC440MIPS64ELF,
|
||||
# IRIX
|
||||
IDO53_IRIX,
|
||||
IDO53_CXX_IRIX,
|
||||
|
||||
@@ -36,6 +36,7 @@
|
||||
"gcc2.7.2snew": "GCC 2.7.2 (SN, experimental)",
|
||||
"gcc2.8.1sn-cxx": "GCC 2.8.1 (SN) (C++)",
|
||||
"gcc2.8.1": "GCC 2.8.1",
|
||||
"gcc4.4.0-mips64-elf": "GCC 4.4.0 (mips64-elf)",
|
||||
"ido5.3_irix": "IDO 5.3",
|
||||
"ido5.3_c++_irix": "IDO 5.3 C++",
|
||||
"ido6.0_irix": "IDO 6.0",
|
||||
|
||||
Reference in New Issue
Block a user