()
return out_string.strip().endswith(b'cygwin')
Try to determine if the gcc that would be used is from cygwin.
Try to determine if the gcc that would be used is from cygwin.
Try to determine if the gcc that would be used is from cygwin .
def is_cygwingcc():
    '''Try to determine if the gcc that would be used is from cygwin.'''
    out_string = check_output(['gcc', '-dumpmachine'])
    return out_string.strip().endswith(b'cygwin')
def is_cygwingcc ( ) : out_string = check_output ( [ 'gcc' , '-dumpmachine' ] ) return out_string . strip ( ) . endswith ( b'cygwin' )