Home
last modified time | relevance | path

Searched refs:compiler (Results 1 – 25 of 199) sorted by relevance

12345678

/Zephyr-latest/subsys/bindesc/
DKconfig.host_info17 bool "C compiler name"
19 The C compiler name, such as "GNU"
22 bool "C compiler version"
24 The C compiler version, such as "12.3.0"
27 bool "C++ compiler name"
29 The C++ compiler name, such as "GNU"
32 bool "C++ compiler version"
34 The C++ compiler version, such as "12.3.0"
/Zephyr-latest/cmake/compiler/host-gcc/
Dcompiler_flags.cmake1 # Load toolchain_cc-family compiler flags
2 # Significant overlap with freestanding gcc compiler so reuse it
3 include(${ZEPHYR_BASE}/cmake/compiler/gcc/compiler_flags.cmake)
/Zephyr-latest/lib/runtime/
DKconfig9 Selected when the compiler supports compiler-rt runtime library.
21 bool "LLVM compiler-rt"
24 Use LLVM compiler-rt as a runtime library.
/Zephyr-latest/cmake/compiler/
Dcompiler_flags_template.cmake1 # Overview of used compiler properties for gcc / g++ compilers.
35 # Extended warning set supported by the compiler
58 set_property(TARGET compiler-cpp PROPERTY nostdincxx)
61 set_property(TARGET compiler-cpp PROPERTY required)
64 set_property(TARGET compiler-cpp PROPERTY dialect_cpp98)
65 set_property(TARGET compiler-cpp PROPERTY dialect_cpp11)
66 set_property(TARGET compiler-cpp PROPERTY dialect_cpp14)
67 set_property(TARGET compiler-cpp PROPERTY dialect_cpp17)
68 set_property(TARGET compiler-cpp PROPERTY dialect_cpp2a)
69 set_property(TARGET compiler-cpp PROPERTY dialect_cpp20)
[all …]
/Zephyr-latest/cmake/modules/
DFindTargetTools.cmake10 # | Target C-compiler | Yes | |
18 # Path to target C compiler.
19 # Set to 'CMAKE_C_COMPILER-NOTFOUND' if no C compiler was found.
53 # CMAKE_SYSTEM_NAME-compiler-CMAKE_SYSTEM_PROCESSOR.cmake file,
54 # which can be used to modify settings like compiler flags etc. for
65 # Byte order of <LANG> compiler target architecture, if known.
81 # Custom targets for compiler and linker flags.
83 add_custom_target(compiler) target
84 add_custom_target(compiler-cpp)
91 # The 'generic' compiler and the 'target' compiler might be different,
[all …]
DFindDtc.cmake5 # FindDTC module for locating devicetree compiler, DTC.
10 # Path to devicetree compiler, dtc.
14 # True if the devicetree compiler, dtc, was found.
17 # The version of devicetree compiler, dtc.
DFindoneApi.cmake5 # FindoneApi module for locating oneAPI compiler, icx.
10 # True if the oneApi toolchain/compiler, icx, was found.
/Zephyr-latest/cmake/compiler/iar/
Dcompiler_flags.cmake71 # Extended warning set supported by the compiler
80 set_property(TARGET compiler PROPERTY warnings_as_errors --warnings_are_errors)
100 set_compiler_property(TARGET compiler-cpp PROPERTY nostdincxx)
103 set_property(TARGET compiler-cpp PROPERTY required --c++)
106 set_property(TARGET compiler-cpp PROPERTY dialect_cpp98)
107 set_property(TARGET compiler-cpp PROPERTY dialect_cpp11)
108 set_property(TARGET compiler-cpp PROPERTY dialect_cpp14)
109 set_property(TARGET compiler-cpp PROPERTY dialect_cpp17 --libc++)
110 set_property(TARGET compiler-cpp PROPERTY dialect_cpp2a --libc++)
111 set_property(TARGET compiler-cpp PROPERTY dialect_cpp20 --libc++)
[all …]
/Zephyr-latest/cmake/
Dtarget_toolchain_flags.cmake5 # * The MD5 sum of the compiler itself. A MD5 checksum is taken of the content
12 # * CMAKE_C_COMPILER_ID is taking the CMake compiler id for extra signature.
14 # methods, where an upgraded compiler could have same signature due to ccache
15 # usage and symbolic links, then the upgraded compiler will have new version
23 # Extend the CMAKE_C_COMPILER_MD5_SUM with the compiler signature.
30 include(${CMAKE_CURRENT_LIST_DIR}/compiler/compiler_features.cmake)
36 include(${CMAKE_CURRENT_LIST_DIR}/compiler/compiler_flags_template.cmake)
42 include(${TOOLCHAIN_ROOT}/cmake/compiler/${COMPILER}/compiler_flags.cmake OPTIONAL)
/Zephyr-latest/cmake/compiler/gcc/
Dcompiler_flags.cmake1 # Those are flags not to test for CXX compiler.
9 # Setting compiler properties for gcc / g++ compilers. #
113 # GCC compiler flags for C standard. The specific standard must be appended by user.
127 set_property(TARGET compiler-cpp PROPERTY nostdincxx "-nostdinc++")
130 set_property(TARGET compiler-cpp PROPERTY required "-fcheck-new")
132 # GCC compiler flags for C++ dialect: "register" variables and some
138 set_property(TARGET compiler-cpp PROPERTY dialect_cpp98 "-std=c++98")
139 set_property(TARGET compiler-cpp PROPERTY dialect_cpp11 "-std=c++11")
140 set_property(TARGET compiler-cpp PROPERTY dialect_cpp14 "-std=c++14")
141 set_property(TARGET compiler-cpp PROPERTY dialect_cpp17 "-std=c++17" "-Wno-register")
[all …]
Dtarget.cmake12 …message(FATAL_ERROR "C compiler ${CROSS_COMPILE}${CC} not found - Please check your toolchain inst…
67 include(${ZEPHYR_BASE}/cmake/compiler/gcc/target_arm.cmake)
69 include(${ZEPHYR_BASE}/cmake/compiler/gcc/target_arm64.cmake)
71 include(${ZEPHYR_BASE}/cmake/compiler/gcc/target_arc.cmake)
85 # The toolchain has specified a sysroot dir, pass it to the compiler
100 # This libgcc code is partially duplicated in compiler/*/target.cmake
115 # For CMake to be able to test if a compiler flag is supported by the
119 # CMake checks compiler flags with check_c_compiler_flag() (Which we
127 # to add additional compiler flags used during checking. These flags
/Zephyr-latest/cmake/compiler/arcmwdt/
Dcompiler_flags.cmake8 # Setting compiler properties for MWDT compilers. #
125 set_property(TARGET compiler-cpp PROPERTY dialect_cpp98 "-std=c++98")
126 set_property(TARGET compiler-cpp PROPERTY dialect_cpp11 "-std=c++11")
127 set_property(TARGET compiler-cpp PROPERTY dialect_cpp14 "-std=c++14")
128 set_property(TARGET compiler-cpp PROPERTY dialect_cpp17 "-std=c++17")
131 set_property(TARGET compiler-cpp PROPERTY dialect_cpp2a "")
132 set_property(TARGET compiler-cpp PROPERTY dialect_cpp20 "")
133 set_property(TARGET compiler-cpp PROPERTY dialect_cpp2b "")
139 set_property(TARGET compiler PROPERTY warnings_as_errors -Werror)
143 set_property(TARGET compiler-cpp PROPERTY no_exceptions "-fno-exceptions")
[all …]
Dtarget.cmake7 # to add additional compiler flags used during checking. These flags
27 # For CMake to be able to test if a compiler flag is supported by the toolchain
39 # The MWDT compiler can replace some code with call to builtin functions.
47 # The MWDT compiler requires different macro definitions for ARC and RISC-V
/Zephyr-latest/arch/posix/
DCMakeLists.txt43 # @Intent: Set necessary compiler & linker options for this specific host architecture & OS
65 zephyr_compile_options($<TARGET_PROPERTY:compiler,fpsse2>)
66 target_compile_options(native_simulator INTERFACE "$<TARGET_PROPERTY:compiler,fpsse2>")
94 # Get the *compiler* include path, that is where the *compiler* provided headers are (not the
105 # Do not use the C library from this compiler/host,
106 # but still use the basic compiler headers,
108 # no_builtin to avoid the compiler using builtin replacements for std library functions
113 $<TARGET_PROPERTY:compiler,freestanding>
114 $<TARGET_PROPERTY:compiler,no_builtin>
119 … target_compile_options(native_simulator INTERFACE $<TARGET_PROPERTY:compiler,warnings_as_errors>)
[all …]
/Zephyr-latest/soc/snps/nsim/arc_classic/sem/
DCMakeLists.txt4 # GNU compiler options
12 # MWDT compiler options
/Zephyr-latest/soc/snps/hsdk4xd/
DCMakeLists.txt4 # GNU compiler options
8 # MWDT compiler options
/Zephyr-latest/samples/modules/tflite-micro/hello_world/
DCMakeLists.txt8 # appear to require thread safety, we turn it off in the C++ compiler.
9 set(NO_THREADSAFE_STATICS $<TARGET_PROPERTY:compiler-cpp,no_threadsafe_statics>)
/Zephyr-latest/samples/modules/tflite-micro/magic_wand/
DCMakeLists.txt8 # appear to require thread safety, we turn it off in the C++ compiler.
9 set(NO_THREADSAFE_STATICS $<TARGET_PROPERTY:compiler-cpp,no_threadsafe_statics>)
/Zephyr-latest/
DCMakeLists.txt102 # compiler options needed by all source files. All zephyr libraries,
109 # built purely with the include paths, defines, and other compiler
128 # Don't inherit compiler flags from the environment
149 # @Intent: Set compiler specific flag for disabling strict aliasing rule
150 zephyr_compile_options($<$<COMPILE_LANGUAGE:C>:$<TARGET_PROPERTY:compiler,no_strict_aliasing>>)
151 zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler-cpp,no_strict_aliasing>…
155 zephyr_compile_options($<$<COMPILE_LANGUAGE:C>:$<TARGET_PROPERTY:compiler,warnings_as_errors>>)
156 zephyr_compile_options($<$<COMPILE_LANGUAGE:CXX>:$<TARGET_PROPERTY:compiler,warnings_as_errors>>)
161 # @Intent: Set compiler flags to enable buffer overflow checks in libc functions
170 zephyr_compile_definitions($<TARGET_PROPERTY:compiler,security_fortify_run_time> )
[all …]
/Zephyr-latest/soc/snps/hsdk/
DCMakeLists.txt6 # GNU compiler options
13 # MWDT compiler options
/Zephyr-latest/soc/snps/nsim/arc_classic/vpx5/
DCMakeLists.txt4 # GNU compiler options
9 # MWDT compiler options
/Zephyr-latest/cmake/toolchain/oneApi/
Dgeneric.cmake12 set(TOOLCHAIN_HOME ${ONEAPI_TOOLCHAIN_PATH}/compiler/latest/${system}/bin/)
13 set(ONEAPI_LLVM_BIN_PATH ${ONEAPI_TOOLCHAIN_PATH}/compiler/latest/${system}/bin-llvm)
33 # icx compiler of oneApi will invoke clang-cl on windows,
/Zephyr-latest/cmake/compiler/xcc/
Dcompiler_flags.cmake3 include(${ZEPHYR_BASE}/cmake/compiler/gcc/compiler_flags.cmake)
8 # it's a legacy compiler.
/Zephyr-latest/cmake/sca/sparse/
Dsca.cmake8 # Create sparse.cmake which will be called as compiler launcher.
18 # Avoid compiler "attribute directive ignored" warnings
/Zephyr-latest/lib/libc/common/
DCMakeLists.txt24 # Prevent compiler from optimizing calloc into an infinite recursive call
25 zephyr_library_compile_options($<TARGET_PROPERTY:compiler,no_builtin_malloc>)

12345678