OpenSSL cross-compilation without modifying Makefile

Source: Internet
Author: User
Tags install openssl openssl version

OpenSSL cross-compilation without modifying Makefile

Use arm-none-linux-gnueabi-gcc to cross-compile openssl to generate static library files libcrypto. a and libssl.

1. download the latest openssl version from the openssl official website. I downloaded the openssl-1.0.2e. : Http://www.openssl.org/source/

2. Install arm-none-linux-gnueabi-gcc, download and decompress the package, and configure the environment variables.

3. decompress the openssl source code, enter the directory, and execute:

CC = arm-none-linux-gnueabi-gcc, modify the Compiler

./Config no-asm-static -- prefix =/usr/local/ssl-1.0.2/, configure, -- prefix for the installation directory

After the configuration is complete: manually modify the generated Makefile and find the location with-m64, delete all (2 in total)

Make & make install

For more information about OpenSSL, see the following links:

Use OpenSSL command line to build CA and Certificate

Install OpenSSL in Ubuntu

Provides FTP + SSL/TLS authentication through OpenSSL and implements secure data transmission.

Use OpenSSL to generate certificates in Linux

Use OpenSSL to sign multi-domain certificates

Add a custom encryption algorithm to OpenSSL

OpenSSL details: click here
OpenSSL: click here

This article permanently updates the link address:

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.