aarch64-linux-gnu/bin/ld: cannot find -lgcc_s
时间:2021-01-08 11:54:43
收藏:0
阅读:166
在使用*gcc的 -Wl,-Bstatic 选项链接静态库时,出现 aarch64-linux-gnu/bin/ld: cannot find -lgcc_s 的错误;
解决方法:
加上 -static-libgcc 参数后再编译即可通过。
原文:https://www.cnblogs.com/wanglouxiaozi/p/14250179.html
评论(0)