为iOS 64位构建libxml2-2.9.2

为iOS 64位构建libxml2-2.9.2,ios,configure,libxml2,cpu-architecture,arm64,Ios,Configure,Libxml2,Cpu Architecture,Arm64,到目前为止,我只为iOS 32位构建了libxml2-2.9.2和以前的版本。 我用来调用配置脚本的命令是: ./configure --with-debug=no --host=arm-apple-darwin12.5.0 --with-iconv=no --with-zlib=no ./configure--with debug=no--host=arm-apple-darwin12.5.0--with iconv=no--with zlib=no 这一切都很顺利 现在要为64位体系结构构建

到目前为止,我只为iOS 32位构建了libxml2-2.9.2和以前的版本。 我用来调用配置脚本的命令是:

./configure --with-debug=no --host=arm-apple-darwin12.5.0 --with-iconv=no --with-zlib=no ./configure--with debug=no--host=arm-apple-darwin12.5.0--with iconv=no--with zlib=no 这一切都很顺利

现在要为64位体系结构构建它,我要介绍:

./configure --with-debug=no --host=arm64-apple-darwin12.5.0 --with-iconv=no --with-zlib=no ./configure--with debug=no--host=arm64-apple-darwin12.5.0--with iconv=no--with zlib=no 这将打印出以下错误:

checking build system type... x86_64-apple-darwin12.5.0 checking host system type... Invalid configuration `arm64-apple-darwin12.5.0': machine `arm64-apple' not recognized configure: error: /bin/sh ./config.sub arm64-apple-darwin12.5.0 failed 正在检查生成系统类型。。。x86_64-apple-darwin12.5.0 正在检查主机系统类型。。。无效配置“arm64-apple-darwin12.5.0”:无法识别计算机“arm64-apple” 配置:错误:/bin/sh./config.sub arm64-apple-darwin12.5.0失败 你知道如何解决这个问题吗?
提前感谢。

您将需要类似于
CCFLAGS=“--arch arm64”LDFLAGS=“--arch arm64”。/configure--host=arm-apple-darwin12.5.0等等的东西