
This gets all the tests to compile and many of them to pass. There are some issues left, but those are probably unrelated to compiler-rt.
28 строки
572 Б
JSON
28 строки
572 Б
JSON
{
|
|
"llvm-target": "riscv32--none",
|
|
"goos": "linux",
|
|
"goarch": "arm",
|
|
"build-tags": ["tinygo.riscv", "baremetal", "linux", "arm"],
|
|
"gc": "conservative",
|
|
"compiler": "clang",
|
|
"linker": "ld.lld",
|
|
"rtlib": "compiler-rt",
|
|
"cflags": [
|
|
"--target=riscv32--none",
|
|
"-march=rv32imac",
|
|
"-mabi=ilp32",
|
|
"-Os",
|
|
"-Werror",
|
|
"-nostdinc",
|
|
"-fno-exceptions", "-fno-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"-melf32lriscv",
|
|
"--gc-sections"
|
|
],
|
|
"extra-files": [
|
|
"src/device/riscv/start.S"
|
|
],
|
|
"gdb": "riscv64-unknown-elf-gdb"
|
|
}
|