'Test whether gcc is installed on the machine.'

def require_gcc(self):

    try:
        utils.system('which    gcc')
    except error.CmdError:
        raise NotAvailableError('gcc    is    required    by    this    job    and    is    not    available    on    the    system')
