Lines Matching full:cc
26 # $(cc-option,<flag>)
28 cc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) …
36 as-instr = $(success,printf "%b\n" "$(1)" | $(CC) $(CLANG_FLAGS) -c -x assembler -o /dev/null -)
38 # check if $(CC) and $(LD) exist
39 $(error-if,$(failure,command -v $(CC)),C compiler '$(CC)' not found)
43 cc-info := $(shell,$(srctree)/scripts/cc-version.sh $(CC))
44 $(error-if,$(success,test -z "$(cc-info)"),Sorry$(comma) this C compiler is not supported.)
45 cc-name := $(shell,set -- $(cc-info) && echo $1)
46 cc-version := $(shell,set -- $(cc-info) && echo $2)
49 as-info := $(shell,$(srctree)/scripts/as-version.sh $(CC) $(CLANG_FLAGS))
63 cc-option-bit = $(if-success,$(CC) -Werror $(1) -E -x c /dev/null -o /dev/null,$(1))
64 m32-flag := $(cc-option-bit,-m32)
65 m64-flag := $(cc-option-bit,-m64)