aarch64-linux-gnu/bin/ld: cannot find -lgcc_s

在使用*gcc的  -Wl,-Bstatic  选项链接静态库时,出现 aarch64-linux-gnu/bin/ld: cannot find -lgcc_s 的错误;

解决方法:

加上  -static-libgcc 参数后再编译即可通过。

原文地址:https://www.cnblogs.com/wanglouxiaozi/p/14250179.html