diff --git a/backend/compilers/compilers.linux.yaml b/backend/compilers/compilers.linux.yaml index d5a527cf2..8e3f901f1 100644 --- a/backend/compilers/compilers.linux.yaml +++ b/backend/compilers/compilers.linux.yaml @@ -231,4 +231,5 @@ win32: - msvc8.0p android_x86: + - ndk-r8e-gcc-4.4.3 - ndk-r8e-gcc-4.7 diff --git a/backend/coreapp/compilers.py b/backend/coreapp/compilers.py index 7054aa19f..52c5b9350 100644 --- a/backend/coreapp/compilers.py +++ b/backend/coreapp/compilers.py @@ -1565,7 +1565,13 @@ def available_platforms() -> List[Platform]: cc=BORLAND_MSDOS_CC, ) -ANDROID_R8E_C = GCCCompiler( +ANDROID_R8E_443_C = GCCCompiler( + id="ndk-r8e-gcc-4.4.3", + platform=ANDROID_X86, + cc='"$COMPILER_DIR"/toolchains/x86-4.4.3/prebuilt/linux-x86_64/bin/i686-linux-android-gcc -c --sysroot="$COMPILER_DIR"/platforms/android-9/arch-x86 $COMPILER_FLAGS -o "$OUTPUT" "$INPUT"', +) + +ANDROID_R8E_47_C = GCCCompiler( id="ndk-r8e-gcc-4.7", platform=ANDROID_X86, cc='"$COMPILER_DIR"/toolchains/x86-4.7/prebuilt/linux-x86_64/bin/i686-linux-android-gcc -c --sysroot="$COMPILER_DIR"/platforms/android-9/arch-x86 $COMPILER_FLAGS -o "$OUTPUT" "$INPUT"', @@ -1812,7 +1818,8 @@ def available_platforms() -> List[Platform]: BORLAND_20_C, BORLAND_31_C, # GCC, Android - ANDROID_R8E_C, + ANDROID_R8E_443_C, + ANDROID_R8E_47_C, ] _compilers = OrderedDict({c.id: c for c in _all_compilers if c.available()}) diff --git a/frontend/src/lib/i18n/locales/en/compilers.json b/frontend/src/lib/i18n/locales/en/compilers.json index 9c509e19d..6432a3ca8 100644 --- a/frontend/src/lib/i18n/locales/en/compilers.json +++ b/frontend/src/lib/i18n/locales/en/compilers.json @@ -251,6 +251,7 @@ "cygnus-2.7-96Q3": "cygnus-2.7-96Q3 SOA-960904", + "ndk-r8e-gcc-4.4.3": "Android NDK r8e (GCC 4.4.3)", "ndk-r8e-gcc-4.7": "Android NDK r8e (GCC 4.7)", "armcc_opt_level": "Optimization level",