openssl1.0.2u交叉编译mips32

#!/bin/bash

# 1.生成makefile(注意如果更换过编译工具链,需要重新解压源码在执行这个脚本)
CFLAGS1=-muclibc 
CFLAGS2=-march=mips32r2
setarch linux32 ./config no-asm no-async shared $CFLAGS1 $CFLAGS2 --prefix=$(pwd)/install --cross-compile-prefix=mips-linux-uclibc-

# 2. make && make install
posted @ 2025-03-20 11:30  Smah  阅读(64)  评论(0)    收藏  举报