Automatically executing the right program
ted at midg3t.net
Mon Jan 21 12:14:04 EST 2008
Ted Percival wrote:
> How about this patch? The ccontrol config file can contain things like
> cc = /usr/bin
> If invoked as gcc-4.2 it will execute /usr/bin/gcc-4.2, etc.
That patch was a bit buggy (see <http://bugs.debian.org/455446>), I have
updated it so it works properly now:
Is there a reason why ccontrol doesn't just peruse PATH until it finds a
matching command that is not ccontrol? I think that would be easier to
use, then the config file would only be necessary to configure more
interesting things like no-parallel, distcc-hosts, etc.
More information about the ccontrol