Update: Right now, probably MATLink is the best way to do this. It runs on Windows / Linux / Mac.
Disclosure: I am one of the authors of MATLink.
Have you tried using mEngine instead ? I can only try on Windows, but, looking at the sources, I believe that this can work on other platforms.
I hope you only need to change main.c , in fact, just copy and paste the main function from one of the MathLink examples (e.g. addtwo), since mEngine main.c removed the non-Windows part. Then compile the package as a MathLink program.
Szabolcs
source share