Files
tinygo/targets/cortex-m.json
Ayke van Laethem a1e69bbc13 WIP: precise GC
2019-05-14 14:20:39 +02:00

24 lines
435 B
JSON

{
"build-tags": ["cortexm", "linux", "arm"],
"goos": "linux",
"goarch": "arm",
"compiler": "clang",
"gc": "precise",
"linker": "ld.lld",
"rtlib": "compiler-rt",
"cflags": [
"-Oz",
"-mthumb",
"-Werror",
"-fshort-enums",
"-nostdlibinc",
"-Wno-macro-redefined",
"-fno-exceptions", "-fno-unwind-tables",
"-ffunction-sections", "-fdata-sections"
],
"ldflags": [
"--gc-sections"
],
"gdb": "arm-none-eabi-gdb"
}