. ./setenv-ios.sh
Configuring for iPhoneOS (armv7)
XCODE_SDK: iPhoneOS10.3.sdk
XCODE_DEVELOPER: /Applications/Xcode.app/Contents/Developer
XCODE_TOOLCHAIN: /Applications/Xcode.app/Contents/Developer/usr/bin
XCODE_DEVELOPER_TOP: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
IOS_ARCH: armv7
IOS_TOOLCHAIN: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
IOS_FLAGS:
IOS_SYSROOT: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
make -f GNUmakefile-cross
clang++ -DNDEBUG -g2 -O3 -fPIC -pipe -DCRYPTOPP_DISABLE_ASM -miphoneos-version-min=6 -arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk -stdlib=libc++ -c crc.cpp
crc.cpp:21:7: error: invalid instruction
asm ("crc32 %1, %0" : "+r"(crc) : "r"(val));
^
<inline asm>:1:2: note: instantiated into assembly here
crc32 r1, r0
^~~~~
crc.cpp:27:7: error: invalid instruction
asm ("crc32 %1, %0" : "+r"(crc) : "r"(val));
^
<inline asm>:1:2: note: instantiated into assembly here
crc32 r1, r0
^~~~~
crc.cpp:33:7: error: invalid instruction
asm ("crc32 %1, %0" : "+r"(crc) : "r"(val));
^
<inline asm>:1:2: note: instantiated into assembly here
crc32 r1, r0
^~~~~
3 errors generated.
make: *** [crc.o] Error 1
Any idea appreciated.
Thanks.
Yahel
I'm following to the letter the guide at : https://www.cryptopp.com/wiki/IOS_(Command_Line)
But with Xcode 8.2.3 ...
I'm following to the letter the guide at : https://www.cryptopp.com/wiki/IOS_(Command_Line)But with Xcode 8.2.3 ...
Thanks Yahel.
I was kind of worried about that break. The problem is Apple dumbs down their version of Clang, while LLVM's Clang is fully featured. I'm guessing a `make -k` will show problems around PMULL, AES and SHA, too (gcm.cpp, rijndael.cpp and sha.cpp).
The other problem is, both my MacBooks are down so its not being well tested. The first machine's hard drive went bad, so its a new machine without tools. The second had the battery go bad, and leak took out the machine.
I might be able to have a fix shortly, but I'm worried about testing.
Can you provide remote SSH access to the machine? I can provide an authorized_keys file.
Thanks to you !!Have a great day.