Marc Glisse <marc.glisse@xxxxxxxx> writes: > I noticed recently that unless I specify --with-ld=/usr/bin/ld or > --with-gnu-ld, the configuration system doesn't notice that I am using > the GNU binutils (HAVE_GNU_LD is set to 0). Is that done on purpose so > I can more easily use another linker ? > > On Linux that means I am missing a few extra features. > > On Solaris, it will use the first ld on the PATH (which might be GNU) > but give it options as if it was the Oracle linker. The current default is aimed at people who distribute the compiler, since they might distribute it to a system with a different linker. I'm not sure that is a good idea these days--I think that most distributors are accustomed to using special configure options and that the defaults should be for the people who use the compiler natively only. I would support a change with appropriate notification on the changes page. Ian