小编Lui*_*isM的帖子

通用 ELF 中的重定位(EM:183)

这以前有用过。我不知道发生了什么,问题是我不能再跑了。我正在使用 Ubuntu 16.04 x86-64 对 aarch64 架构与 ARM cpu 进行交叉编译。

\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\n

运行配置的日志:

\n\n
checking 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)

linux elf cross-compiling

5
推荐指数
1
解决办法
1万
查看次数

标签 统计

cross-compiling ×1

elf ×1

linux ×1