[strace/strace] compile strace statically (#89)

aauren notifications at github.com
Sun May 3 03:38:09 UTC 2020


I know this is an old issue, but I just wanted to report back that this worked correctly for me.

Steps:
```
git clone https://github.com/strace/strace
cd strace
./bootstrap
export LDFLAGS='-static -pthread'
./configure
make

Result:
% file strace
strace: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), statically linked, BuildID[sha1]=d08a819c2abac4c8db9e6fcdcba8201cf1ba3406, for GNU/Linux 3.2.0, with debug_info, not stripped
```
Ported it over to my other machine and it worked perfectly.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/strace/strace/issues/89#issuecomment-623049007
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20200502/f99ee7c2/attachment.html>


More information about the Strace-devel mailing list