Make ccontrol abort when called as a specific gcc version.

Ted Percival ted at midg3t.net
Sun Nov 4 14:35:52 EST 2007


Tony Breeds wrote:
> On Wed, Oct 24, 2007 at 12:03:03PM +1000, Tony Breeds wrote:
>> The debian package includes a bunch of symlinks (I've sumbitted a bug
>> asking that they're removed) for various compilers which point to
>> ccontrol which leads to the following unexpected behaviour.
> 
> Hmm actually this patch is broken. I'll work out a better fix....

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.

-- 
\0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccontrol-whichcmd.patch
Type: text/x-patch
Size: 4224 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/ccontrol/attachments/20071104/7324586c/attachment.bin>


More information about the ccontrol mailing list