openssl 交叉编译

Posted smallredness

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了openssl 交叉编译相关的知识,希望对你有一定的参考价值。

建立build文件夹

mkdir build

在build文件夹中建立run.sh文件

cd build
touch run.sh
chmod 755 run.sh

run.sh文件内容如下:

#!/bin/bash

vcom=arm-linux-gnueabihf

export CC="$vcom"-gcc
export CPP="$vcom"-g++
export AR="$vcom"-ar
export LD="$vcom"-ld
export RANLIB="$vcom"-ranlib

../config no-asm shared

以上是关于openssl 交叉编译的主要内容,如果未能解决你的问题,请参考以下文章