I have been wanting to compile some programs for my Nintendo DS running DSLinux. To do this, I used a Debian Wheezy chroot, as modern Linux is incompatible with the cross-compiler. I am using the official crosscompiler provided on DSLinux's website. My first program was a simple "Hello World" in C, however when I tried to execute it on the DS I got an error message about some data abort and that Linux had killed the program.
Any code I try to compile has this issue. For example, I tried to compile an older version of the file command and it gave the same error. There is a photo attached of the error when I tried running it.
Using file (on my computer), the executables are "BFLT executable - version 4 gotpic" - the same as the executable files that come with DSLinux and work perfectly.
After researching, I have not been able to find anyone with the same problem. DSLinux is abandoned, but I see no reason why the compiler shouldn't still work on a compatible OS. I have the Memory Expansion Pak and it is detected by DSLinux.
How do I resolve this?
Any code I try to compile has this issue. For example, I tried to compile an older version of the file command and it gave the same error. There is a photo attached of the error when I tried running it.
Using file (on my computer), the executables are "BFLT executable - version 4 gotpic" - the same as the executable files that come with DSLinux and work perfectly.
After researching, I have not been able to find anyone with the same problem. DSLinux is abandoned, but I see no reason why the compiler shouldn't still work on a compatible OS. I have the Memory Expansion Pak and it is detected by DSLinux.
How do I resolve this?






