github.com/aykevl/tinygo@v0.5.0/targets/cortex-m.json (about) 1 { 2 "build-tags": ["cortexm", "linux", "arm"], 3 "goos": "linux", 4 "goarch": "arm", 5 "compiler": "clang-8", 6 "gc": "marksweep", 7 "linker": "ld.lld", 8 "rtlib": "compiler-rt", 9 "cflags": [ 10 "-Oz", 11 "-mthumb", 12 "-fshort-enums", 13 "-fno-exceptions", "-fno-unwind-tables", 14 "-ffunction-sections", "-fdata-sections" 15 ], 16 "ldflags": [ 17 "--gc-sections" 18 ], 19 "gdb": "arm-none-eabi-gdb" 20 }