I am getting this error every time, while compiling programs, configuring and installing
some things like binutils, textinfo, etc..
/usr/local/bin/ld:
If you were attempting to install a version of binutils that should work alike the one found in /usr/bin
, you should know that
--sysroot=/
option.--sysroot
option.--sysroot
option will only be accepted by ld if binutils was configured with option --with-sysroot
.So, to cover this use-case, configure binutils with option --with-sysroot=/
.