/Zephyr-latest/subsys/bindesc/ |
D | Kconfig.host_info | 17 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/ |
D | compiler_flags_template.cmake | 1 # Overview of used compiler properties for gcc / g++ compilers. 35 # Extended warning set supported by the compiler 38 # Compiler property that will issue error if a declaration does not specify a type 41 # Compiler flags to use when compiling according to MISRA 48 # Compiler flags for C standard. The specific standard must be appended by user. 52 # Compiler flags for disabling C standard include and instead specify include 57 # Compiler flags for disabling C++ standard include. 58 set_property(TARGET compiler-cpp PROPERTY nostdincxx) 61 set_property(TARGET compiler-cpp PROPERTY required) 63 # Compiler flags to use for specific C++ dialects [all …]
|
/Zephyr-latest/cmake/compiler/iar/ |
D | compiler_flags.cmake | 5 # Compiler options for the IAR C/C++ Compiler for Arm 71 # Extended warning set supported by the compiler 74 # Compiler property that will issue error if a declaration does not specify a type 77 # Compiler flags to use when compiling according to MISRA 80 set_property(TARGET compiler PROPERTY warnings_as_errors --warnings_are_errors) 86 # Compiler flags for C standard. The specific standard must be appended by user. 94 # Compiler flags for disabling C standard include and instead specify include 99 # Compiler flags for disabling C++ standard include. 100 set_compiler_property(TARGET compiler-cpp PROPERTY nostdincxx) 103 set_property(TARGET compiler-cpp PROPERTY required --c++) [all …]
|
/Zephyr-latest/cmake/modules/ |
D | FindTargetTools.cmake | 10 # | 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) 87 if(NOT (COMPILER STREQUAL "host-gcc")) [all …]
|
D | FindDtc.cmake | 5 # 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.
|
/Zephyr-latest/cmake/ |
D | target_toolchain_flags.cmake | 5 # * 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/lib/runtime/ |
D | Kconfig | 9 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/doc/develop/toolchains/ |
D | arm_compiler.rst | 3 Arm Compiler 6 6 #. Download and install a development suite containing the `Arm Compiler 6`_ 15 #. The Arm Compiler 6 needs the :envvar:`ARMLMD_LICENSE_FILE` environment 34 #. If the Arm Compiler 6 was installed as part of an Arm Development Studio, then 43 The Arm Compiler 6 uses ``armlink`` for linking. This is incompatible 45 Arm Compiler 6 support Zephyr's CMake linker script generator, which 54 .. _Arm Compiler 6: https://developer.arm.com/tools-and-software/embedded/arm-compiler/downloads/ve…
|
D | cadence_xcc.rst | 3 Cadence Tensilica Xtensa C/C++ Compiler (XCC) 14 * This add-on allows the compiler to generate code for the SoC on hand. 22 * GCC-based compiler: ``xt-xcc`` and its friends. 24 * Clang-based compiler: ``xt-clang`` and its friends. 75 #. To use Clang-based compiler: 79 * Note that the Clang-based compiler may contain an old LLVM bug which
|
/Zephyr-latest/cmake/compiler/host-gcc/ |
D | compiler_flags.cmake | 1 # 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/cmake/compiler/gcc/ |
D | compiler_flags.cmake | 1 # 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. 118 NOT COMPILER STREQUAL "xcc" AND 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") [all …]
|
D | target.cmake | 12 …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/kernel/ |
D | compiler_stack_protect.c | 9 * @brief Compiler stack protection (kernel part) 11 * This module provides functions to support compiler stack protection 16 * When this feature is enabled, the compiler generated code refers to 20 #include <zephyr/toolchain.h> /* compiler specific configurations */ 47 * Symbol referenced by GCC compiler generated code for canary value. 60 * @brief Referenced by GCC compiler generated code
|
/Zephyr-latest/arch/posix/ |
D | CMakeLists.txt | 43 # @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/cmake/toolchain/oneApi/ |
D | generic.cmake | 12 set(TOOLCHAIN_HOME ${ONEAPI_TOOLCHAIN_PATH}/compiler/latest/${system}/bin/) 13 set(ONEAPI_LLVM_BIN_PATH ${ONEAPI_TOOLCHAIN_PATH}/compiler/latest/${system}/bin-llvm) 28 set(COMPILER icx) variable 33 # icx compiler of oneApi will invoke clang-cl on windows, 40 set(COMPILER clang) variable
|
/Zephyr-latest/cmake/toolchain/armclang/ |
D | Kconfig | 17 bool "ARM Compiler C library" 21 Use the full Arm Compiler runtime libraries. 23 not provided by ARM Compiler standard libraries.
|
/Zephyr-latest/cmake/compiler/arcmwdt/ |
D | compiler_flags.cmake | 8 # 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 …]
|
D | target.cmake | 7 # 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/soc/snps/nsim/arc_classic/sem/ |
D | CMakeLists.txt | 3 if(COMPILER STREQUAL gcc) 4 # GNU compiler options 12 # MWDT compiler options
|
/Zephyr-latest/soc/snps/hsdk4xd/ |
D | CMakeLists.txt | 3 if(COMPILER STREQUAL gcc) 4 # GNU compiler options 8 # MWDT compiler options
|
/Zephyr-latest/soc/snps/hsdk/ |
D | CMakeLists.txt | 5 if(COMPILER STREQUAL gcc) 6 # GNU compiler options 13 # MWDT compiler options
|
/Zephyr-latest/ |
D | CMakeLists.txt | 102 # 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/nsim/arc_classic/vpx5/ |
D | CMakeLists.txt | 3 if(COMPILER STREQUAL gcc) 4 # GNU compiler options 9 # MWDT compiler options
|
/Zephyr-latest/arch/arc/ |
D | CMakeLists.txt | 8 # Without this (poorly named) option, compiler may generate undefined 15 if(NOT COMPILER STREQUAL arcmwdt) 17 # Instruct compiler to use proper register as cached thread pointer for thread local storage. 29 if(COMPILER STREQUAL arcmwdt)
|
/Zephyr-latest/soc/snps/nsim/arc_classic/em/ |
D | CMakeLists.txt | 3 if(COMPILER STREQUAL gcc) 4 # GNU compiler options 12 # MWDT compiler options
|