阅读背景:

如何在链接/ bin / ld时更改gcc使用的库?

来源:互联网 

I'm trying to use a version of gcc relocated from another system to compile something. I know that there are issues with this but if I can get it to work it will make my life much easier. I've added the /opt/transfer/lib path to $LIBRARY_PATH and gcc appears to see this (from gcc -print-search-dirs). I've also added /opt/transfer/lib to /etc/ld.so.conf though I would greatly prefer a solution where this wasn't necessary. The problem comes when I execute:I'm trying to use a version of gcc relocated fr




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: