1. download strace source code from github: https://github.com/strace/strace/releases . 直接下载 release 的版本,这个里面包含了 configure 文件,可以直接使用。
2.
export CC=<cross_compiler>/xxxx-gcc
export LDFLAGS=“-static -pthread”
./configure --host=arm-linux
make
1. download strace source code from github: https://github.com/strace/strace/releases . 直接下载 release 的版本,这个里面包含了 configure 文件,可以直接使用。
2.
export CC=<cross_compiler>/xxxx-gcc
export LDFLAGS=“-static -pthread”
./configure --host=arm-linux
make