Currently, "gcc" is hardcoded in link.c. It seems to me that this should, instead, respect the $CC environment variable - so that, at least, a "gcc32" could easily be used by modifying dmd.conf (without creating a silly symlink or something.)
This would probably be more portable and work better when gcc is not on the path, but CC is set.
Thanks,
-[Unknown]
Comment #1 by bugs-d — 2006-03-20T01:58:37Z
Created attachment 6
Change link.c to respect $CC, if set.
This patch simply tries a getenv for CC, but falls back to gcc.
-[Unknown]
Comment #2 by larsivar — 2006-05-09T04:59:42Z
This bug was apparently fixed in 0.151, could someone verify it?