这以前有用过。我不知道发生了什么,问题是我不能再跑了。我正在使用 Ubuntu 16.04 x86-64 对 aarch64 架构与 ARM cpu 进行交叉编译。
\n\n这就是我正在运行的配置:
\n\n\n\n\n./configure --host=aarch64-linux-gnu --prefix=/data/data/papi/independent --exec-prefix=/data/data/papi/dependent --with-static-lib=yes --with -shared-lib=no --with-static-tools --with-arch=aarch64 --with-CPU=arm --with-ffsll --with-walltimer=cycle --with-tls=__thread --with- virtualtimer=clock_cputime_id --with-perf-events 虚拟定时器=clock_cputime_id --with-perf-events
\n
运行配置的日志:
\n\nchecking for architecture... aarch64\nchecking for OS... linux\nchecking for OS version... 4.15.0-29-generic\nchecking for perf_event workaround level... autodetect\nchecking for if MIC should be used... no\nchecking for aarch64-linux-gnu-xlc... no\nchecking for aarch64-linux-gnu-icc... no\nchecking for aarch64-linux-gnu-gcc... aarch64-linux-gnu-gcc\nchecking whether the C compiler works... yes\nchecking for C compiler default output file …Run Code Online (Sandbox Code Playgroud)