在使用*gcc的 -Wl,-Bstatic 選項鏈接靜態庫時,出現 aarch64-linux-gnu/bin/ld: cannot find -lgcc_s 的錯誤;
解決方法:
加上 -static-libgcc 參數后再編譯即可通過。
在使用*gcc的 -Wl,-Bstatic 選項鏈接靜態庫時,出現 aarch64-linux-gnu/bin/ld: cannot find -lgcc_s 的錯誤;
解決方法:
加上 -static-libgcc 參數后再編譯即可通過。
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。