花费 55 ms
-L、-rpath和-rpath-link的区别

以下结论及分析仅针对动态库。 结论: (1)-rpath和-rpath-link都可以在链接时指定库的路径; (2)运行可执行文件时,-rpath-link指定的路径不再有效(链接器没有将库的路 ...

Tue Aug 15 00:05:00 CST 2017 0 16969

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM