i'm new to ubuntu.
I'm trying to reinstall binutils. I want to do so coz i'm getting a linker error: /usr/local/bin/ld: this linker was not configured to use sysroots. The details are here.
I found a similar error and a possible solution on this link. Although i have no idea how i ended up with ld in /usr/local/bin as i had read that the standard location for ld is /usr/bin.
My gcc version is 4.7.2 and binutils version(which i found out from synaptic package manager) is 188.8.131.5220924-0ubuntu2. My ubuntu version is 12.04. How can i upgrade my binutils version?