This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

unknown CPU architecture

Hi, Guys,

I compiled a shared object using mali GPU. But when linking it to produce an application I got an error:.../libGLES_mali.so:unknown CPU architecture.The CFLAGES is  -mcpu=cortex-a15  -O2.

What's wrong? I need some help.

Best Regards!

Parents
  • In addtion, today I exchanged the gcc version to an x64 version (android-ndk-r10c/toolchains/aarch64-linux-android-4.9/prebuilt/windows/bin/aarch64-linux-android-gcc-4.9)

    Note that that is a compiler for the 64-bit version of the ARM architecture (i.e. it emits 64-bit binaries for ARM), not an x64 host 32-bit compiler.

    HTH,
    Pete

Reply
  • In addtion, today I exchanged the gcc version to an x64 version (android-ndk-r10c/toolchains/aarch64-linux-android-4.9/prebuilt/windows/bin/aarch64-linux-android-gcc-4.9)

    Note that that is a compiler for the 64-bit version of the ARM architecture (i.e. it emits 64-bit binaries for ARM), not an x64 host 32-bit compiler.

    HTH,
    Pete

Children
No data