def extract_gcc_binaries():
patterns = ['<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>',<EOL>'<STR_LIT>']<EOL>if '<STR_LIT>' in platform.platform().lower():<EOL><INDENT>gcc_binaries = []<EOL>for pattern in patterns:<EOL><INDENT>gcc_binaries += glob.glob(pattern)<EOL><DEDENT>gcc_binaries.sort()<EOL>if gcc_binaries:<EOL><INDENT>_, gcc = os.path.split(gcc_binaries[-<NUM_LIT:1>])<EOL>return gcc<EOL><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT><DEDENT>else:<EOL><INDENT>return None<EOL><DEDENT>
Try to find GCC on OSX for OpenMP support.