From 3f7cf487cf6d59c72b2b5871a3b1664730fdf834 Mon Sep 17 00:00:00 2001 From: John Liljegren Date: Tue, 18 Aug 2026 10:14:14 -0400 Subject: [PATCH 1/2] Add ido7.1_irix4_c++ --- backend/coreapp/compilers.py | 13 +++++++++++++ frontend/src/lib/i18n/locales/en/compilers.json | 1 + 2 files changed, 14 insertions(+) diff --git a/backend/coreapp/compilers.py b/backend/coreapp/compilers.py index 247632f7e..f1225b98d 100644 --- a/backend/coreapp/compilers.py +++ b/backend/coreapp/compilers.py @@ -936,6 +936,18 @@ def available_platforms() -> list[Platform]: ' -c ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"', ) +IDO71_IRIX4_CXX = IDOCompiler( + id="ido7.1_irix4_c++", + platform=N64, + base_compiler=IDO71, + language=Language.OLD_CXX, + cc='"${COMPILER_DIR}/OCC-irix4"' + ' --frontend "${COMPILER_DIR}/../ido4.1"' + ' --cfront "${COMPILER_DIR}/../ido5.3_c++"' + ' --backend "${COMPILER_DIR}"' + ' -c ${COMPILER_FLAGS} -o "${OUTPUT}" "${INPUT}"', +) + IDO71_CXX = IDOCompiler( id="ido7.1_c++", platform=N64, @@ -1855,6 +1867,7 @@ def available_platforms() -> list[Platform]: IDO60, IDO71, IDO71_IRIX4, + IDO71_IRIX4_CXX, IDO71_CXX, MIPS_PRO_744, GCC272KMC, diff --git a/frontend/src/lib/i18n/locales/en/compilers.json b/frontend/src/lib/i18n/locales/en/compilers.json index 9d037250e..2281a144c 100644 --- a/frontend/src/lib/i18n/locales/en/compilers.json +++ b/frontend/src/lib/i18n/locales/en/compilers.json @@ -104,6 +104,7 @@ "ido5.3Pascal": "IDO 5.3 Pascal", "ido7.1": "IDO 7.1", "ido7.1_irix4": "IDO 7.1 (IRIX 4 frontend)", + "ido7.1_irix4_c++": "IDO 7.1 C++ (IRIX 4 cfront)", "ido7.1_c++": "IDO 7.1 C++", "ido7.1Pascal": "IDO 7.1 Pascal", From df21e7d2555172bb3b38a65a1326e3ef21e8498a Mon Sep 17 00:00:00 2001 From: John Liljegren Date: Tue, 18 Aug 2026 18:04:35 -0400 Subject: [PATCH 2/2] use one script --- backend/coreapp/compilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/coreapp/compilers.py b/backend/coreapp/compilers.py index f1225b98d..d1b37f705 100644 --- a/backend/coreapp/compilers.py +++ b/backend/coreapp/compilers.py @@ -941,7 +941,7 @@ def available_platforms() -> list[Platform]: platform=N64, base_compiler=IDO71, language=Language.OLD_CXX, - cc='"${COMPILER_DIR}/OCC-irix4"' + cc='"${COMPILER_DIR}/cc-irix4"' ' --frontend "${COMPILER_DIR}/../ido4.1"' ' --cfront "${COMPILER_DIR}/../ido5.3_c++"' ' --backend "${COMPILER_DIR}"'