Isn't MXE Octave doing the job of compiling the whole toolchain, even if there exists one on a Linux distribution? At least this was the point I found annoying and decided to create a more "lightweight" solution especially for the 64 bit indexing. https://github.com/siko1056/GNU-Octave-enable-64