Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions backend/compilers/compilers.linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -231,4 +231,5 @@ win32:
- msvc8.0p

android_x86:
- ndk-r8e-gcc-4.4.3
Comment thread
aloaf812 marked this conversation as resolved.
- ndk-r8e-gcc-4.7
11 changes: 9 additions & 2 deletions backend/coreapp/compilers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
Expand Down Expand Up @@ -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()})
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 @@ -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",
Expand Down