Up until a week or two ago, I've been merrily compiling stuff using gcc (Fortran, C, C++...) without a problem. Then it stopped working - every time I try to build something, I get the following error.
collect2: cannot find 'ld'
ld exists in the location that the build system expects (/usr/bin/ld), and I can call it from the command line without any problems.
I've reinstalled the binutils package, together with all the gcc packages that I have installed, but to no avail.
I've got no idea what's gone wrong. Can anyone give me any clues?
I'm using Ubuntu 7.04, if that makes any difference. (Tried the forums there with no luck.)