Search
Thursday, 25th of May 2023, 17:47:34 UTC
18:07:01
karlosz
ok, everything stubbed out
18:07:17
karlosz
now its complaininhg about not being able to relocate something in arm64-assem.S
18:07:26
karlosz
going to enable gcc-tls and see what happens
18:08:13
karlosz
actually, could you explain what is going on with the nsp stuff?
18:08:24
Colleen
<shinmera> What do you mean?
18:08:28
karlosz
so when the runtime gets built as src/runtime/sbcl, that's not something the switch can execute yet, right?
18:08:38
karlosz
you need to turn that into an nsp?
18:09:08
karlosz
so src/runtime/sbcl is the elf. what does the nsp do?
18:09:40
Colleen
<shinmera> The NSP includes the "filesystem" with the data the program needs, the switch runtime and other shared libraries, the actual executable, an application manifest for the metadata and permissions, and a graphic for the app menu.
18:10:07
Colleen
<shinmera> it's probably also signed in some way.
18:10:10
karlosz
so its a sandbox with everything in the place it expects
18:11:01
Colleen
<shinmera> the bundling is what the nxdeploy makefile is responsible for.
18:12:19
karlosz
argh the assembler syntax is different
18:13:05
karlosz
seems like a mingw thing?
18:13:20
Colleen
<shinmera> mingw shouldn't be involved at all
18:13:58
karlosz
i mean the clang assembler for nx ius different
18:14:12
karlosz
it barfs on .type directives
18:14:17
karlosz
how quickly can i comment these out...
18:20:36
karlosz
i don't know how to use sed, so i asked chatgpt to give me some commands to comment out.type and .size directives
18:23:13
karlosz
wooo, shrinkwrap binary made
18:23:17
karlosz
now to try t run it....
18:24:36
karlosz
MakeNso INPUT='../sbcl/src/runtime/sbcl', OUTPUT='code/main' The alignment for section lisp.core exceeds 4 KB. (0xlisp.core)
18:24:50
karlosz
when running make sbcl to get the nsp
18:25:19
karlosz
might be a page size issue...
18:25:52
Colleen
<shinmera> good work today!
Friday, 26th of May 2023, 5:47:34 UTC