Skip to content

Instantly share code, notes, and snippets.

@directhex
Last active January 26, 2018 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save directhex/331a5fa558311b1c7bf0ec35bd9754a7 to your computer and use it in GitHub Desktop.
Save directhex/331a5fa558311b1c7bf0ec35bd9754a7 to your computer and use it in GitHub Desktop.
directhex@flame:~/Projects/consoleproject/consoleproject$ cat Program.cs
using System;
namespace consoleproject
{
class MainClass
{
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
Console.WriteLine("Hello World2!");
}
}
}
directhex@flame:~/Projects/consoleproject/consoleproject$ mono /usr/lib/mono/4.5/csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /platform:x86 /errorreport:prompt /warn:4 /define:DEBUG /highentropyva+ /reference:/usr/lib/mono/4.6.1-api/mscorlib.dll /reference:/usr/lib/mono/4.6.1-api/System.Core.dll /reference:/usr/lib/mono/4.6.1-api/System.dll /debug+ /debug:portable /optimize- /out:obj/x86/Debug/consoleproject.exe /subsystemversion:6.00 /target:exe /utf8output Program.cs Properties/AssemblyInfo.cs "/tmp/.NETFramework,Version=v4.6.1.AssemblyAttributes.cs"
Microsoft (R) Visual C# Compiler version 2.3.2.61928 (ec1cde8b)
Copyright (C) Microsoft Corporation. All rights reserved.
directhex@flame:~/Projects/consoleproject/consoleproject$ mkbundle --simple -v -o b.out bin/Debug/consoleproject.exe
OS is: Linux
Sources: 1 Auto-dependencies: True
Attempting to load assembly: bin/Debug/consoleproject.exe
Assembly bin/Debug/consoleproject.exe loaded successfully.
Attempting to load assembly from: ./I18N.West.dll
Attempting to load assembly from: /usr/lib/mono/4.5/I18N.West.dll
Attempting to load assembly from: ./I18N.dll
Attempting to load assembly from: /usr/lib/mono/4.5/I18N.dll
Attempting to load assembly from: ./mscorlib
Attempting to load assembly from: /usr/lib/mono/4.5/mscorlib
Attempting to load assembly from: ./mscorlib
Attempting to load assembly from: /usr/lib/mono/4.5/mscorlib
Attempting to load assembly from: ./I18N
Attempting to load assembly from: /usr/lib/mono/4.5/I18N
Attempting to load assembly from: ./mscorlib
Attempting to load assembly from: /usr/lib/mono/4.5/mscorlib
Using runtime: /usr/bin/mono
At 0 with input 4026144
At 3d7000 with input 4608
Assembly: /home/directhex/Projects/consoleproject/consoleproject/bin/Debug/consoleproject.exe
At 3d9000 with input 3891712
Assembly: /usr/lib/mono/4.5/mscorlib.dll
At 790000 with input 72192
Assembly: /usr/lib/mono/4.5/I18N.West.dll
At 7a2000 with input 38912
Assembly: /usr/lib/mono/4.5/I18N.dll
assembly:consoleproject.exe at (4026368, 4608)
assembly:mscorlib.dll at (4034560, 3891712)
assembly:I18N.West.dll at (7929856, 72192)
assembly:I18N.dll at (8003584, 38912)
Generated b.out
directhex@flame:~/Projects/consoleproject/consoleproject$ ls -lh b.out
-rwxr-xr-x 1 directhex directhex 7.7M Jan 26 15:25 b.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment