Lines Matching refs:cc
245 cc = oldcc = get_config_var('CC').split()[0]
246 cc = _find_executable(cc)
247 if cc is not None and os.path.basename(cc).startswith('gcc'):
251 cc.replace("'", "'\"'\"'"),)).read()
253 cc = None
255 if cc is not None and not _working_compiler(cc):
256 cc = None
258 if cc is None:
260 cc = _find_executable('clang')
261 if cc is None:
262 cc = os.popen("/usr/bin/xcrun -find clang").read()
264 if not cc:
267 if not _working_compiler(cc):
270 if cc != oldcc:
272 cc, oldcc))
278 split[0] = cc if env != 'CXX' else cc + '++'