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