【发布时间】:2021-03-17 04:45:36
【问题描述】:
我知道有人已经问过这个问题,但它不再是最新的了。大多数链接都已失效,命令不再相关。
我已经阅读了这些
Compile IOS program from linux commandline
How to cross-compile clang/llvm for iOS?
例如,我一直在尝试为我的 iPhone 6(越狱)编译 silversearcher-ag。这是项目链接https://github.com/ggreer/the_silver_searcher。
我的目标是 iOS 12.4。
这些是我尝试过的命令
./configure CC=/home/growtopiajaw/Desktop/cctools-port-master/usage_examples/ios_toolchain/target/bin/arm-apple-darwin11-clang CXX=/home/growtopiajaw/Desktop/cctools-port-master/usage_examples/ios_toolchain/target/bin/arm-apple-darwin11-clang++ --host=arm-apple-darwin11
make
我正在使用 cctools-port 交叉编译项目。我编译的 cctools 工具链位于/home/growtopiajaw/Desktop/cctools-port-master/usage_examples/ios_toolchain/target 下,下面是工具链的目录结构的样子
这是我的配置日志:https://del.dog/nugibonury
这是我的制作日志:
CC src/ignore.o
In file included from src/ignore.c:11:
./src/options.h:7:10: fatal error: 'pcre.h' file not found
#include <pcre.h>
^~~~~~~~
1 error generated.
make: *** [Makefile:494: src/ignore.o] Error 1
这是我的 GitHub 存储库,其中包含交叉编译工具链 https://github.com/GrowtopiaJaw/arm-apple-darwin11
【问题讨论】:
标签: ios linux cross-compiling gnu jailbreak