我试图为arm64
重新编译kivy(因为Apple从2015年2月开始需要arm64应用)并且我收到错误:
不能用-arch arm64
指定-Q
(是的,工具生成带有specifiy
字的输出。)
问题是未使用-Q
:
MBA-Anton:kivy-ios2 asmirnov $ /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -xc -arch arm64 -fmessage-length = 115 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit = 0 -fcolor-diagnostics -std = gnu99 -fmodules -fmodules-prune-interval = 86400 -fmodules- prune-after = 345600 -Wnon-modular-include-in-framework-module -Werror = non-modular-include-in-framework-module -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers- Wno-missing-prototypes -Werror = return-type -Werror = deprecated-objc-isa-usage -Werror = objc-root-class -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label - Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-转换-Wbool-conversion -Wenum-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ iPhoneOS8.1.sdk -fstrict-aliasing -Wdeprecated-declarations -g -Wno-sign-conversion -miphoneos-version-min = 7.0 -iquote /Users/asmirnov/Documents/dev/src/kivy-ios2/tmp/libffi-3.2.1/build /libffi.build/Release-iphoneos/libffi-iOS.build/ffi-generated-files.hmap -I /用户/ asmirnov /文件的/ dev / src目录/ kivy-ios2的/ tmp / libffi-3.2.1 /编译/ libffi.build /释放-的iPhoneOS / libffi-iOS.build / FFI-自己的目标,headers.hmap -I /用户/ asmirnov /文件的/ dev / src目录/ kivy-ios2的/ tmp / libffi-3.2.1 /编译/ libffi.build /释放-的iPhoneOS / libffi-iOS.build / FFI-所有目标headers.hmap -iquote /Users/asmirnov/Documents/dev/src/kivy-ios2/tmp/libffi-3.2.1/build/libffi.build/Release-iphoneos/libffi-iOS.build/ffi-project-headers.hmap -I /用户/ asmirnov /文件的/ dev / SRC / kivy-ios2 / TMP / libffi-3.2.1 /建造/释放-的iPhoneOS /包括 -I /应用/ Xcode.app /内容/开发商/工具链/ XcodeDefault.xctoolchain / usr / include目录 -Idarwin_common / include -Idarwin_ios / include -I / Users / asmirnov / Documents / dev / src / kivy-ios2 / tmp / libffi-3.2.1 / build / libffi.build / Release-iphoneos / libffi-iOS.build / DerivedSources / arm64 -I /用户/ asmirnov /文件的/ dev / SRC / kivy-ios2 / TMP / libffi-3.2.1 /建造/ libffi.build /释放-的iPhoneOS / libffi-iOS.build / DerivedSources -F /用户/ asmirnov /文件的/ dev / src目录/ kivy-ios2的/ tmp / libffi-3.2.1 /构建/发布-的iPhoneOS -no-integrated-as -MMD -MT dependencies -MF /Users/asmirnov/Documents/dev/src/kivy-ios2/tmp/libffi-3.2.1/build/libffi.build/Release-iphoneos/libffi-iOS。建立/对象 - 正常/ arm64 / ffi64_x86_64.d --serialize-diagnostics /Users/asmirnov/Documents/dev/src/kivy-ios2/tmp/libffi-3.2.1/build/libffi.build/Release-iphoneos/libffi-iOS.build/Objects-normal/arm64/ ffi64_x86_64.dia -c /Users/asmirnov/Documents/dev/src/kivy-ios2/tmp/libffi-3.2.1/darwin_ios/src/x86/ffi64_x86_64.c -o /Users/asmirnov/Documents/dev/src/kivy-ios2/tmp/libffi-3.2.1/build/libffi.build/Release-iphoneos/libffi-iOS.build/Objects-normal/arm64/ffi64_x86_64.o /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/as: 不能用-arch arm64 clang来指定-Q:错误:汇编命令 退出代码1失败(使用-v查看调用)
答案 0 :(得分:0)
" -no集成-AS"不需要,没有它的作品