ARM64 and -mios-version-min=7.0?
ARM64 and -mios-version-min=7.0?
- Subject: ARM64 and -mios-version-min=7.0?
- From: Jeffrey Walton <email@hidden>
- Date: Sat, 12 Oct 2013 18:44:32 -0400
I have a question about -mios-version-min=7.0.
**********
When I build OpenSSL from the command line, I can build for ARM64 and
*without* -mios-version-min=7.0. lipo shows libcrypto and libssl are
ARM64.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -arch arm64 -Os -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-fomit-frame-pointer -fno-common -c -o cryptlib.o cryptlib.c
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
-I. -I.. -I../include -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN
-DHAVE_DLFCN_H -arch arm64 -Os -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-fomit-frame-pointer -fno-common -c -o mem.o mem.c
...
**********
When I build Crypto++ from the command line, ARM64 fails without
-mios-version-min=7.0.
clang++ -DNDEBUG -g -Os -pipe -fPIC -DCRYPTOPP_DISABLE_ASM -arch arm64
--sysroot=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk
-Wno-tautological-compare -Wno-unused-value -c 3way.cpp
error: invalid deployment target '3.0.0' for architecture 'arm64' (requires
'7.0.0' or later)
1 error generated.
make: *** [3way.o] Error 1
**********
What determines when -mios-version-min=7.0 is required?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden