ios8.3 Compiling version arm64 openssl-1.0.2a

Source: Internet
Author: User

Xcode is version 6.3, the iOS SDK is 8.3,

To http://www.openssl.org/source/download the latest version openssl-1.0.2a

After decompression, open the Configure file with a text editor,

--------------------------------------------------------------------------------------------------------------- -------------------------------------------

Will

# Iphoneos/ios
"Iphoneos-cross", "LLVM-GCC:-O 3-isysroot \$ (cross_top)/sdks/\$ (CROSS_SDK)-fomit-frame-pointer-fno-common::-D _ Reentrant:ios:-wl,-search_paths_first%:bn_llong Rc4_char rc4_chunk des_unroll bf_ptr:${no_asm}:d lfcn:darwin-shared :-fpic-fno-common:-dynamiclib:.\$ (Shlib_major). \$ (Shlib_minor). Dylib ",

--------------------------------------------------------------------------------------------------------------- -------------------------------------------

To be replaced by:

# Iphoneos/ios
"Iphoneos-cross", "Llvm-gcc:-arch arm64-o3-isysroot/applications/xcode.app/contents/developer/platforms/ Iphoneos.platform/developer/sdks/iphoneos8.3.sdk-fomit-frame-pointer-fno-common::-D _reentrant:ios:-wl,-search_ Paths_first%:bn_llong Rc4_char rc4_chunk des_unroll bf_ptr:${no_asm}:d lfcn:darwin-shared:-fpic-fno-common:- dynamiclib:.\$ (shlib_major). \$ (Shlib_minor). Dylib ",

--------------------------------------------------------------------------------------------------------------- -------------------------------------------

Then open terminal, run the command

./configure--prefix=/libs/openssl-1.0.2a/arm64 Iphoneos-cross

Make

Make install

The simulator can be used with the following command:

./configure--prefix=/libs/openssl-1.0.2a/x86_64 DARWIN64-X86_64-CC

./configure--prefix=/libs/openssl-1.0.2a/i386 DARWIN-I386-CC

Make

Make install

Make clean

ios8.3 Compiling version arm64 openssl-1.0.2a

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.