-
Notifications
You must be signed in to change notification settings - Fork 83
Standalone builds using mkbundle
UnknownShadow200 edited this page Aug 11, 2022
·
2 revisions
mkbundle -o MCGLinux --simple MCGalaxyCLI.exe --machine-config /etc/mono/4.5/machine.config --config linux_cfg --library /usr/lib/libMonoPosixHelper.so --library /usr/lib/libmono-btls-shared.so --library /usr/lib/libmono-native.so
<configuration>
<dllmap dll="i:cygwin1.dll" target="libc.so.6"/>
<dllmap dll="libc" target="libc.so.6"/>
<dllmap dll="intl" target="libc.so.6"/>
<dllmap dll="libintl" target="libc.so.6"/>
<dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.so"/>
<dllmap dll="System.Native" target="libmono-native.so"/>
<dllmap dll="System.Net.Security.Native" target="libmono-native.so"/>
<dllmap dll="libmono-btls-shared" target="libmono-btls-shared.so"/>
<dllmap dll="i:msvcrt" target="libc.so.6"/>
<dllmap dll="i:msvcrt.dll" target="libc.so.6"/>
<dllmap dll="sqlite3" target="libsqlite3.so.0"/>
<dllmap dll="libX11" target="libX11.so.6"/>
<dllmap dll="libgdk-x11-2.0" target="libgdk-x11-2.0.so.0"/>
<dllmap dll="libgdk_pixbuf-2.0" target="libgdk_pixbuf-2.0.so.0"/>
<dllmap dll="libgtk-x11-2.0" target="libgtk-x11-2.0.so.0"/>
<dllmap dll="libglib-2.0" target="libglib-2.0.so.0"/>
<dllmap dll="libgobject-2.0" target="libgobject-2.0.so.0"/>
<dllmap dll="libgnomeui-2" target="libgnomeui-2.so.0"/>
<dllmap dll="libXinerama" target="libXinerama.so.1"/>
<dllmap dll="libcairo-2.dll" target="libcairo.so.2"/>
<dllmap dll="i:kernel32.dll">
<dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/>
<dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/>
<dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/>
<dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/>
</dllmap>
<dllmap dll="gdiplus" target="libgdiplus.so.0"/>
<dllmap dll="gdiplus.dll" target="libgdiplus.so.0"/>
<dllmap dll="gdi32" target="libgdiplus.so.0"/>
<dllmap dll="gdi32.dll" target="libgdiplus.so.0"/>
</configuration>
mkbundle -o MCGmac --simple MCGalaxyCLI.exe --cross mono-5.10.1-osx-10.7-x64 --machine-config ~/.mono/targets/mono-5.10.1-osx-10.7-x64/etc/mono/4.5/machine.config --config mac_cfg
<configuration>
<dllmap dll="libc" target="libc.dylib"/>
<dllmap dll="intl" target="libc.dylib"/>
<dllmap dll="MonoPosixHelper" target="libMonoPosixHelper.dylib"/>
<dllmap dll="System.Native" target="libmono-native.dylib"/>
<dllmap dll="System.Net.Security.Native" target="libmono-native.sodylib" />
<dllmap dll="System.Security.Cryptography.Native.Apple" target="libmono-native.dylib"/>
<dllmap dll="libmono-btls-shared" target="libmono-btls-shared.dylib"/>
<dllmap dll="i:msvcrt" target="libc.dylib"/>
<dllmap dll="i:msvcrt.dll" target="libc.dylib"/>
<dllmap dll="i:kernel32.dll">
<dllentry dll="__Internal" name="CopyMemory" target="mono_win32_compat_CopyMemory"/>
<dllentry dll="__Internal" name="FillMemory" target="mono_win32_compat_FillMemory"/>
<dllentry dll="__Internal" name="MoveMemory" target="mono_win32_compat_MoveMemory"/>
<dllentry dll="__Internal" name="ZeroMemory" target="mono_win32_compat_ZeroMemory"/>
</dllmap>
<dllmap dll="libcairo-2.dll" target="libcairo.2.dylib"/>
</configuration>