I have a low-end VPS that is set up with a ZNC as an IRC bouncer, and it runs just fine, it has around 128 MB of flash memory, which is NOT ENOUGH to compile one of the modules I want to use znc-push . After trying to compile on a virtualbox and sending the file over, I get an error of invalid ELF header when I try to load the module up. How can I compile this module remotely and then send it over? It has enough memory to run it, but won't compile it, I've looked in to using distcc, but I can't find any reliable info on how to use it. Also, I have tried creating a swap file, but that's not allowed/possible with this VPS.
How to compile when the machine has not enough memory?
compiling;cross compilation;vps;irc