tangrs/nspire-linux-loader2

-

cuj opened this issue · 3 comments

cuj commented

@IIWare It looks like you'll need to compile the code yourself. See https://hackspire.org/index.php/C_and_assembly_development_introduction for how to install the Ndless toolchain, and then you should just be able to run make all in the root directory of this project.

@cuj From the error log, it looks like you didn't install the ndless toolchain properly (/bin/sh: nspire-gcc: command not found == nspire-gcc, the tool used to compile programs for the nspire, is not on your $PATH).
I have not used macOS Big Sur to compile the Ndless toolchain before, but you should be able to install all the dependencies with brew and follow https://hackspire.org/index.php/C_and_assembly_development_introduction to get the toolchain installed.

@cuj genzehn (and another program you will need, make-prg) are Ndless SDKprograms used to take an ELF executable and turn it into a .tns executable. Searching for genzehn in the Ndless SDK gives this folder. If you run make all in there it should install genzehn and make-prg in the same bin path as the nspire-gcc tool.
If you get stuck again, please try a bit harder to work through it yourself.