Basile Starynkevitch <bas...@starynkevitch.net> writes: > Of course, one can always force ld to be a particular linker (i.e. the > BFD one on a system where the default is GOLD, or vice versa) with ugly > $PATH and symlink tricks. But that is ugly.
You mentioned you use Debian; their gcc-4.4 4.4.3-4 and later have a "gold-and-ld" patch to support gcc -fuse-ld=bfd and -fuse-ld=gold. This patch is not in the FSF's GCC 4.4.5, 4.5.1, nor trunk.