You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2020. It is now read-only.
/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /var/folders/r2/lwdsvm0s1wbcd_hvk_n970080000gn/T//ccYDd7hQ.o: unknown CPU architecture
collect2: error: ld returned 1 exit status
configure: failed program was:
line 8916 "configure"
include "confdefs.h"
include
int main() {
int *foo = new int;
; return 0; }
Is there any place that I wrote wrong? Thank you very much!
I'm trying to build Spidermonkey for android arm64. Here is what I added to build.sh in directory 'build-android':
TOOLS_ARCH=arm-linux-androideabi
TARGET_NAME=arm-linux-androideabi
CPU_ARCH=armv8-a
RELEASE_ARCH_DIR=arm64-v8a
GCC_VERSION=4.9
TOOLNAME_PREFIX=arm-linux-androideabi
build_with_arch
But somehow I got an error below:
/opt/android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: error: /var/folders/r2/lwdsvm0s1wbcd_hvk_n970080000gn/T//ccYDd7hQ.o: unknown CPU architecture
collect2: error: ld returned 1 exit status
configure: failed program was:
line 8916 "configure"
include "confdefs.h"
include
int main() {
int *foo = new int;
; return 0; }
Is there any place that I wrote wrong? Thank you very much!