如何为ios arm64 arch构建SpiderMonkey?

时间:2017-11-07 16:43:19

标签: ios firefox clang clang++ spidermonkey

我建立如下:

../configure --with-ios-target=iphoneos --with-ios-version=11.0 --with-ios-min-version=8.0 --with-arch=arm64 --disable-shared-js

并收到以下错误:

checking whether the chosen combination of compiler flags (-march=arm64) works... configure: error: no
------ config.log ------
#include "confdefs.h"

int main() {
XtMalloc()
; return 0; }
configure:6418: /usr/bin/clang -c -march=arm64  conftest.c 1>&5
error: unknown target CPU 'arm64'
configure: failed program was:
#line 6411 "configure"
#include "confdefs.h"

int main() {
return sizeof(__thumb2__);
; return 0; }
configure:6527: checking whether the chosen combination of compiler flags (-march=arm64) works
configure:6536: /usr/bin/clang -c -march=arm64  conftest.c 1>&5
error: unknown target CPU 'arm64'
configure: failed program was:
#line 6529 "configure"
#include "confdefs.h"

int main() {
return 0;
; return 0; }
configure: error: no

march的方法是什么?即使我使用--with-target=i386运行,也会收到相同的错误。

我该怎么办?

0 个答案:

没有答案