|
| 1 | +{ |
| 2 | + "GCC_ARM": { |
| 3 | + "common": ["-c", "-Wall", "-Wextra", |
| 4 | + "-Wno-unused-parameter", "-Wno-missing-field-initializers", |
| 5 | + "-fmessage-length=0", "-fno-exceptions", "-fno-builtin", |
| 6 | + "-ffunction-sections", "-fdata-sections", "-funsigned-char", |
| 7 | + "-MMD", "-fno-delete-null-pointer-checks", |
| 8 | + "-fomit-frame-pointer", "-Os", "-DNDEBUG"], |
| 9 | + "asm": ["-x", "assembler-with-cpp"], |
| 10 | + "c": ["-std=gnu99"], |
| 11 | + "cxx": ["-std=gnu++98", "-fno-rtti", "-Wvla"], |
| 12 | + "ld": ["-Wl,--gc-sections", "-Wl,--wrap,main", "-Wl,--wrap,_malloc_r", |
| 13 | + "-Wl,--wrap,_free_r", "-Wl,--wrap,_realloc_r", |
| 14 | + "-Wl,--wrap,_calloc_r", "-Wl,--wrap,exit", "-Wl,--wrap,atexit"] |
| 15 | + }, |
| 16 | + "ARM": { |
| 17 | + "common": ["-c", "--gnu", "-Ospace", "--split_sections", |
| 18 | + "--apcs=interwork", "--brief_diagnostics", "--restrict", |
| 19 | + "--multibyte_chars", "-O3", "-DNDEBUG"], |
| 20 | + "asm": [], |
| 21 | + "c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"], |
| 22 | + "cxx": ["--cpp", "--no_rtti", "--no_vla"], |
| 23 | + "ld": [] |
| 24 | + }, |
| 25 | + "uARM": { |
| 26 | + "common": ["-c", "--gnu", "-Ospace", "--split_sections", |
| 27 | + "--apcs=interwork", "--brief_diagnostics", "--restrict", |
| 28 | + "--multibyte_chars", "-O3", "-D__MICROLIB", |
| 29 | + "--library_type=microlib", "-DMBED_RTOS_SINGLE_THREAD", "-DNDEBUG"], |
| 30 | + "asm": [], |
| 31 | + "c": ["--md", "--no_depend_system_headers", "--c99", "-D__ASSERT_MSG"], |
| 32 | + "cxx": ["--cpp", "--no_rtti", "--no_vla"], |
| 33 | + "ld": ["--library_type=microlib"] |
| 34 | + }, |
| 35 | + "IAR": { |
| 36 | + "common": [ |
| 37 | + "--no_wrap_diagnostics", "-e", |
| 38 | + "--diag_suppress=Pa050,Pa084,Pa093,Pa082", "-Ohz", "-DNDEBUG"], |
| 39 | + "asm": [], |
| 40 | + "c": ["--vla"], |
| 41 | + "cxx": ["--guard_calls", "--no_static_destruction"], |
| 42 | + "ld": ["--skip_dynamic_initialization", "--threaded_lib"] |
| 43 | + } |
| 44 | +} |
0 commit comments