Files
tinygo/targets/riscv32.json
T
Ayke van Laethem 170a069132 riscv32: use gdb binary as a fallback
At least on my system (Fedora 42) the standard gdb binary is capable of
debugging riscv-qemu binaries (running inside qemu-system-riscv32).
2025-06-11 14:29:20 +02:00

20 lines
316 B
JSON

{
"inherits": ["riscv"],
"llvm-target": "riscv32-unknown-none",
"cpu": "generic-rv32",
"target-abi": "ilp32",
"build-tags": ["tinygo.riscv32"],
"scheduler": "tasks",
"default-stack-size": 2048,
"cflags": [
"-march=rv32imac"
],
"ldflags": [
"-melf32lriscv"
],
"gdb": [
"gdb-multiarch",
"gdb"
]
}