It’s not possible to do that. Yes is possible to compile it successfully but it needs a real FHS like chroot and it means it requires a rooted device
I wasn't sure. Didn't know it's more complicated than that.
i had same problem with pico-8. seems like both need a full file hierarchy system