def is_cygwingcc():
 out_string = check_output(['gcc', '-dumpmachine'])
 return out_string.strip().endswith('cygwin')

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