strace debugging tools compiled transplant

 Download Source: https://github.com/strace/strace/releases/tag/v4.18 (old version, depending on compile time using the latest version of the 5.4 more than the final bloggers abandon the use)

 

[Compilation step]

1 ./bootstrap
2 ./configure --host=aarch64-linux-gnu --target=aarch64-linux-gnu --prefix=/home/Files/strace
3 make
4 make install

[Makefile]

# ls /home/Files/strace/bin/
    strace  strace-graph  strace-log-merge

[View library dependencies]

0x0000000000000001 (NEEDED) the Shared Library: [libc.so. 6 ] 
to ensure the presence of libc.so. development board 6 Library

[Transplanted to embedded development board, and output version]

# strace -V
strace -- version UNKNOWN
Copyright (c) 1991-2019 The strace developers <https://strace.io>.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Guess you like

Origin www.cnblogs.com/GyForever1004/p/11984416.html