- 博客(2)
- 收藏
- 关注
原创 /bin/ld: this linker was not configured to use sysroots解决办法
ld版本偏低升级ld https://ftp.gnu.org/gnu/binutils/下载待升级版本/binutils-2.26.tar.gz [root@test binutils-2.26]# ./configure --prefix=/usr --enable-ld make make instlal 确认版本升级成功 [root@test binutils-2.26]# ld -v
2021-04-27 10:08:26
335
原创 *** LIBRARY_PATH shouldn‘t contain the current directory when *** building gcc.
LD_LIBRARY_PATH以冒号结尾,GCC不赞成该冒号。 还应确保C_INCLUDE_PATH不以冒号结尾,以避免出现相关问题。 方法如下: 方法一: 重新exportLIBRARY_PATH和C_INCLUDE_PATH 尾部不含冒号 方法二: export LIBRARY_PATH=$(echo $LIBRARY_PATH | sed 's/:$//; s/^://;') export C_INCLUDE_PATH=$(echo $C_INCLUDE_PATH | sed 's/:$//.
2021-04-26 11:16:55
3760
6
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人