• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ARM64 and -mios-version-min=7.0?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: ARM64 and -mios-version-min=7.0?
      • From: Chris Lattner <email@hidden>
  • Prev by Date: Re: Easy way to install SWIG on Mountain Lion?
  • Next by Date: Multi-arch and ARM64?
  • Previous by thread: Re: Easy way to install SWIG on Mountain Lion?
  • Next by thread: Re: ARM64 and -mios-version-min=7.0?
  • Index(es):
    • Date
    • Thread