> ...which seems to be the case. Even when configure is told to use gld, > somewhere down the line, gcc eventually decides that it should use > /usr/ccs/bin/ld instead.
You need to rebuild the whole compiler if you want to switch from the Sun tools to GNU binutils, i.e --with-gnu-ld should be passed to the configure line of GCC itself and the compiler entirely rebuilt. -- Eric Botcazou