Using Mono on Linux, is there any way to create a standalone executable which will run on systems without mono installed?
The Mono runtime contains a code execution engine that translates ECMA CIL byte codes into native code and supports a number of processors: ARM, MIPS (in 32-bit mode only), SPARC, PowerPC, S390 (in 64-bit mode), x86, x86-64 and IA-64 for 64-bit modes.
The mono command executes a compiled Mono program in the virtual machine. mono uses a just-in-time compiler (JIT) to translate the compiled CIL bytecode to machine code for execution. The Hello.exe program can be run with mono Hello.exe.
So, after all these years of its evolution, mono is capable of running many of original . NET Framework application types on operating systems other than Windows.
You should take a look at the mkbundles command. It can static link all the required libraries and the CLR along with your app into one exe.
Also check out this page on the different ways of running mono applications.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With