Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于ios版以及android版的编译 #52

Open
ghost opened this issue Apr 16, 2020 · 1 comment
Open

关于ios版以及android版的编译 #52

ghost opened this issue Apr 16, 2020 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 16, 2020

编译脚本 compile-v7.sh 内容如下:
compile-v7.sh 和 源码目录 TASSL-v7 在同一目录。
arm64 armv7s 架构的编译类似。
#!/bin/bash
OUT_DIR=out-v7
rm -rf $OUT_DIR
cd TASSL-v7
make clean

设置编译器

export CC="clang -arch armv7"

设置工具链路径

export PATH="/Applications/Xcode10.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:$PATH"

设置开发环境目录

export CROSS_TOP=/Applications/Xcode10.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer

设置SDK

export CROSS_SDK=iPhoneOS12.0.sdk

设置最小依赖版本

export IPHONEOS_DEPLOYMENT_TARGET=8.0

生成makefile

./Configure iphoneos-cross no-shared --prefix=/Users/leagsoft/dengjunxing/TASSL-ALL/$OUT_DIR

构建

make

make install

echo "complied v7"

上面的井号是脚本注释!
https://blog.csdn.net/xiaod_szu/article/details/105565550

@k214k
Copy link

k214k commented Dec 13, 2021

按照你的脚本,编译报错

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant