Static compile
Dmitry V. Levin
ldv at altlinux.org
Tue Dec 11 06:23:57 UTC 2018
Hi,
On Tue, Dec 11, 2018 at 06:11:00AM +0000, Ronneil Camara wrote:
> Hi,
> I'd like to compile strace statically link. The target server doesn't have all the libraries and make. How do I compile so I can make a binary that I can just copy to the target server?
Try to build with LDFLAGS='-static -pthread'.
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20181211/a2a6c3cf/attachment.bin>
More information about the Strace-devel
mailing list