mirror / busybox

BusyBox mirror
https://www.busybox.net/
Other
1.64k stars 617 forks source link

Illegal instruction (core dumped) #83

Open userse31 opened 8 months ago

userse31 commented 8 months ago

The toolchain that the leappad2 wiki points to is horribly out of date. But, the standard Debian arm gcc package works! (arm-linux-gnueabi-*) The binaries need to be compiled as static, but that's alright! (Hopefully).

The standard "Hello World" test code works, so the compiler creates correct code that runs on the toy.

But Busybox doesn't work.

make CROSS_COMPILE=arm-linux-gnueabi-

Making sure the option to link busybox statically is enabled.

On the toy:

/LF/Bulk # chmod +x busybox /LF/Bulk # ./busybox Illegal instruction (core dumped) /LF/Bulk #