尝试在 Cygwin 下编译 Android 树中的 Skia
我尝试在 Cygwin 下的 Android 树中编译 Skia,但收到以下错误消息:
<pre>
PLATFORM_VERSION_CODENAME=AOSP </br>
PLATFORM_VERSION=3.1.4.1.5.9.2.6.5
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=windows
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
make: Entering directory `/cygdrive/c/Users/mycpu/Android/androidsrc'
target asm: libskia 〈= external/skia/src/opts/memset.arm.S
cc1: error: unrecognized command line option "-mfloat-abi=softfp"
cc1: error: unrecognized command line option "-mfpu=vfpv3-d16"
cc1: error: unrecognized command line option "-mthumb-interwork"
cc1: error: unrecognized command line option "-Wno-psabi"
cc1: warning: -fpic ignored for target (all code is position independent)
cc1: error: bad value (armv7-a) for -march= switch
cc1: error: bad value (armv7-a) for -mtune= switch
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libskia_intermediates
/src/opts/memset.arm.o] Error 1
是因为GCC不支持ARMv7-A吗?
I'm trying to compile Skia in Android tree under Cygwin, but I get these error messages:
<pre>
PLATFORM_VERSION_CODENAME=AOSP </br>
PLATFORM_VERSION=3.1.4.1.5.9.2.6.5
TARGET_PRODUCT=full
TARGET_BUILD_VARIANT=eng
TARGET_SIMULATOR=
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a
HOST_ARCH=x86
HOST_OS=windows
HOST_BUILD_TYPE=release
BUILD_ID=OPENMASTER
============================================
make: Entering directory `/cygdrive/c/Users/mycpu/Android/androidsrc'
target asm: libskia 〈= external/skia/src/opts/memset.arm.S
cc1: error: unrecognized command line option "-mfloat-abi=softfp"
cc1: error: unrecognized command line option "-mfpu=vfpv3-d16"
cc1: error: unrecognized command line option "-mthumb-interwork"
cc1: error: unrecognized command line option "-Wno-psabi"
cc1: warning: -fpic ignored for target (all code is position independent)
cc1: error: bad value (armv7-a) for -march= switch
cc1: error: bad value (armv7-a) for -mtune= switch
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libskia_intermediates
/src/opts/memset.arm.o] Error 1
Is it because GCC doesn't support ARMv7-A?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论