您的位置: 首页 » 翻越奥义 » Tunsafe 静态编译x64备忘

Tunsafe 静态编译x64备忘

作者:liyangyijie / 时间:February 24, 2020 /分类:翻越奥义 / 标签:none /阅览次数:3,428

备忘

git clone https://github.com/TunSafe/TunSafe.git
cd TunSafe
#
CURARGS="-static -s -static-libgcc -g0 -Os -DNDEBUG"
CXX=/mmx64/bin/x86_64-linux-musl-g++

$CXX -c -march=skylake-avx512 crypto/poly1305/poly1305-x64-linux.s crypto/chacha20/chacha20-x64-linux.s
$CXX -I . $CURARGS -DWITH_NETWORK_BSD=1 -mssse3 -pthread -lrt -o tunsafe \
tunsafe_amalgam.cpp \
crypto/aesgcm/aesni_gcm-x64-linux.s \
crypto/aesgcm/aesni-x64-linux.s \
crypto/aesgcm/ghash-x64-linux.s \
chacha20-x64-linux.o \
poly1305-x64-linux.o \

上一篇 : orangpi_one备忘 没有下一篇

添加新评论