arm64

How to determine host value for configure when using cross compiler

核能气质少年 提交于 2019-11-27 14:07:18
General question: If I use a cross compiler, how can I tell the value of the "--host" option I should give when I run configure? Specific: I'm using cross compiler for arm64 arch. What is the correct "--host" value to use? vinay hunachyal If I use a cross compiler, how can I tell the value of the --host option I should give when I run ./configure ? Three machines must be distinguished when discussing toolchain creation The build machine , where the toolchain is built. The host machine , where the toolchain will be executed. The target machine , where the binaries created by the toolchain are

How to update our static library architecture for suporting arm64 Build?

喜欢而已 提交于 2019-11-27 10:49:30
问题 Few days ago i create static-library (Universal) that work's fine with Xcode5.0 SDK7 . After Update Xcode5.1 with SDK7.1 that not work if i select simulator iPhone Retina(4-inch 64-bit) . Then i am going to update my lib with Bellow setting change. I do the same for three Target:- For sporting simulator as well as device i put Universal lib and in to this i run script this:- After this i Build Again lib and used as i done Before in to my project. But still getting same issue with iPhone

Images not showing up when architecture set to 64 bit

隐身守侯 提交于 2019-11-27 09:08:23
For transitioning my app to 64-bit, I changed the Architectures build setting to: ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; App is runnig fine except that some of the images are not showing up (blank). Why would it happen? any clues? Answer lies here: https://devforums.apple.com/message/922989#922989 I found the reason. In a viewController, which was not yet allocated, but included in the app, there was following implemented (in the .m-file above implementation viewController): @implementation UIImageView (UIScrollView) - (void)setAlpha:(float)alpha { ..........(no difference if here is

what is the current execution mode/exception level, etc?

a 夏天 提交于 2019-11-27 08:19:49
问题 I am new to ARMv8 architecture. I have following basic questions on my mind: How do I know what is the current execution mode AArch32 or AArch64? Should I read CPSR or SPSR to ascertain this? What is the current Exception level, EL0/1/2/3? Once an exception comes, can i read any register to determine whether I am in Serror/Synchronous/IRQ/FIQ exception handler. TIA. 回答1: The assembly instructions and their binary encoding are entirely different for 32 and 64 bit. So the information what mode

Building ffmpeg iOS libraries for armv7, armv7s, arm64, i386 and universal

混江龙づ霸主 提交于 2019-11-26 20:31:55
问题 I have seen several scripts to build FFmpeg API for armv7, 7s and i386 but couldn't find anything which would work for armv64 as well. Some of the answers on other threads of this forum suggested to prepare a separate library for arm64 but it does not work well with rest of the architectures. Hence I need a script which can work for all the supported architectures for iOS including armv7, armv7s, armv64 and i386. 回答1: I have use below scripts for making FFmpeg build for arm64 https://github

Images not showing up when architecture set to 64 bit

眉间皱痕 提交于 2019-11-26 17:48:51
问题 For transitioning my app to 64-bit, I changed the Architectures build setting to: ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; App is runnig fine except that some of the images are not showing up (blank). Why would it happen? any clues? 回答1: Answer lies here: https://devforums.apple.com/message/922989#922989 I found the reason. In a viewController, which was not yet allocated, but included in the app, there was following implemented (in the .m-file above implementation viewController):

How to determine host value for configure when using cross compiler

自古美人都是妖i 提交于 2019-11-26 14:08:41
问题 General question: If I use a cross compiler, how can I tell the value of the "--host" option I should give when I run configure? Specific: I'm using cross compiler for arm64 arch. What is the correct "--host" value to use? 回答1: If I use a cross compiler, how can I tell the value of the --host option I should give when I run ./configure ? Three machines must be distinguished when discussing toolchain creation The build machine , where the toolchain is built. The host machine , where the

NSInteger and NSUInteger in a mixed 64bit / 32bit environment

别来无恙 提交于 2019-11-26 12:55:48
问题 I have a fair amount of string format specifiers in NSLog / NSAssert etc. calls which use %d and %u with NSInteger (= int on 32bit) and NSUInteger (= unsigned int on 32bit) types respectively. When converting the app to 64bit, this gives warnings (of course), as %ld %lu is expected for what now became a long and unsigned long type. Simply converting the format specifiers will of course introduce the reverse warnings in the 32bit build. So the only solution I see to become warning free is

iOS app submission : missing 64-bit support

眉间皱痕 提交于 2019-11-26 00:58:46
问题 I sent an app yesterday for review, with no problem. I then realized that I had a very little fix to do (changing the max zoom level of a map from 19 to 18, nothing else), so I removed the binary from iTunes Connect, and tried to resubmit. Now I\'m having this warning : I don\'t understand why, as my architectures are : architectures : armv7 valid architectures : armv6, armv7, armv7s, arm64 The app runs fine in the simulator. If I try to use the standard architectures (armv7, arm64) as

iOS app submission : missing 64-bit support

此生再无相见时 提交于 2019-11-25 20:56:27
I sent an app yesterday for review, with no problem. I then realized that I had a very little fix to do (changing the max zoom level of a map from 19 to 18, nothing else), so I removed the binary from iTunes Connect, and tried to resubmit. Now I'm having this warning : I don't understand why, as my architectures are : architectures : armv7 valid architectures : armv6, armv7, armv7s, arm64 The app runs fine in the simulator. If I try to use the standard architectures (armv7, arm64) as recommended in the warning, then the app won't build and I get : Undefined symbols for architecture x86_64 ld: