Skip to content

Linux kick start executable for running stand-alone distributed Mono applications

License

Notifications You must be signed in to change notification settings

OutOfOrder/MonoKickstart

Repository files navigation

This is MonoKickstart, a standalone Mono "kick" application to run C# programs
on GNU/Linux and Mac OSX without depending on a system installation of Mono.

License
-------
kick.c is released under the zlib license. See LICENSE for details.

binreloc is released under the WTFPL license. See binreloc.LICENSE for details.

About MonoKickstart
-------------------
Originally developed by Edward Rudd for Bastion, MonoKickstart is a reworking of
the stock generated kickstart code from Mono to easily run C# applications on
*nix platforms. Mac OSX support was added in 2013 for MonoGame-SDL2 titles.

About the precompiled/ Folder
-----------------------------
We have provided a precompiled MonoKickstart application for you to use in your
programs. Included are kick binaries and libmono binaries for Mac OSX and Linux
(both x86 and x86_64, OSX uses Universal Binaries). We have also provided the
C# assemblies needed by MonoGame as well as a "./Kick" script to automatically
choose the right binary for the operating system and architecture.

To use the precompiled MonoKickstart, simply rename the kick.bin.* binaries to
the name of your .exe assembly (for instance, MyGame.bin.x86 starts MyGame.exe).
Additionally, modify "Kick" to run those newly named kick binaries rather than
the generic "kick" name. The name of "Kick" itself can be whatever you like.

If you wish to use additional shared libraries (for instance, libSDL2), simply
add the library to the architecture's lib folder (where we have placed libmono).

About the "sgen" kick executables (and libs)
--------------------------------------------
Mono has two different garbage collection system..  Boehm and SGen. So, now
there are two builds of "kick" for each platform.. one with Boehm and one with
SGen.  They all work the same way, so just pick the one that works best for your
game.  Also be sure to only pull in the needed library (either libmono or
libmonosgen)

For example linux x86 has kick.bin.x86 and kick-sgen.bin.x86.  kick is the Boehm
GC and uses lib/libmono-2.0.so.1where as kick-sgen is the SGen GC and uses
libmonosgen-2.0.so.0.

About

Linux kick start executable for running stand-alone distributed Mono applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published