
* Heap allocation based on available ram * Added homebrew launcher parser (for overriden heap) * Removed unused stuff (moved to gonx) * Kept require code at minimum to work in a real device * Moved everything to a single file
34 строки
787 Б
JSON
34 строки
787 Б
JSON
{
|
|
"llvm-target": "aarch64",
|
|
"build-tags": ["nintendoswitch", "arm64"],
|
|
"goos": "linux",
|
|
"goarch": "arm64",
|
|
"compiler": "clang",
|
|
"linker": "ld.lld",
|
|
"rtlib": "compiler-rt",
|
|
"libc": "picolibc",
|
|
"gc": "conservative",
|
|
"relocation-model": "pic",
|
|
"cpu": "cortex-a57",
|
|
"cflags": [
|
|
"-target", "aarch64-unknown-none",
|
|
"-mcpu=cortex-a57",
|
|
"-fPIE",
|
|
"-Werror",
|
|
"-Qunused-arguments",
|
|
"-fshort-enums",
|
|
"-fomit-frame-pointer",
|
|
"-fno-exceptions", "-fno-unwind-tables",
|
|
"-ffunction-sections", "-fdata-sections"
|
|
],
|
|
"ldflags": [
|
|
"-pie",
|
|
"-z", "notext"
|
|
],
|
|
"linkerscript": "targets/nintendoswitch.ld",
|
|
"extra-files": [
|
|
"targets/nintendoswitch.s",
|
|
"src/runtime/gc_arm64.S",
|
|
"src/runtime/runtime_nintendoswitch.s"
|
|
]
|
|
}
|