[Mono-list] Tada!

Paolo Molaro lupus@ximian.com
Wed, 14 Nov 2001 15:42:19 +0100


Script started on Wed Nov 14 15:30:37 2001

lupus@venus:~/opt/ximian/mono/mono$ uname
Linux venus 2.2.19 #1 Tue Apr 10 12:28:53 CEST 2001 i586 unknown

lupus@venus:~/opt/ximian/mono/mono$ cat tests/simple.cs
namespace Simple {
	public class Test {
		public static int Main() {
			return 0;
		}
	}
}

lupus@venus:~/opt/ximian/mono/mono$ ls -l mcs.exe 
-rwxr-xr-x    1 lupus    lupus      299008 Nov 14 15:30 mcs.exe

lupus@venus:~/opt/ximian/mono/mono$ ./interpreter/mint mcs.exe -r /usr/local/lib/corlib.dll --nostdlib tests/simple.cs
Sending dummy where X509Certificate expected
Sending dummy where X509Certificate expected
Sending dummy where IResourceWriter expected
Sending dummy where IResourceWriter expected
Sending dummy where IResourceWriter expected
Sending dummy where IResourceWriter expected
Sending dummy where UnmanagedMarshal expected
Sending dummy where FileIOPermission expected
Sending dummy where Decoder expected
Sending dummy where Decoder expected
Sending dummy where Encoder expected
Sending dummy where Encoder expected
Sending dummy where SignatureHelper expected
Sending dummy where ISymbolDocumentWriter expected

lupus@venus:~/opt/ximian/mono/mono$ ls -l simple.exe 
-rw-r--r--    1 lupus    lupus         980 Nov 14 15:31 simple.exe

lupus@venus:~/opt/ximian/mono/mono$ ./interpreter/mint simple.exe 
Sending dummy where X509Certificate expected
Sending dummy where X509Certificate expected
Sending dummy where IResourceWriter expected
Sending dummy where IResourceWriter expected
Sending dummy where IResourceWriter expected
Sending dummy where IResourceWriter expected
Sending dummy where UnmanagedMarshal expected

lupus@venus:~/opt/ximian/mono/mono$ echo $?
0

lupus@venus:~/opt/ximian/mono/mono$ ./dis/monodis simple.exe 
.assembly extern corlib
{
  .ver 0:0:0:0
}
.assembly 'simple'
{
  .hash algorithm 0x00008004
  .ver  0:0:0:0 
}
.namespace Simple
{
  .class public auto ansi beforefieldinit Test
  	extends [corlib]System.Object
  {

    .method public static 
           default int32 Main()  cil managed 
    {
        // Method begins at RVA 0x2088
	.entrypoint
	// Code size 2 (0x2)
	.maxstack 8
	IL_0000: ldc.i4.0 
	IL_0001: ret 
    }

  }
}

lupus@venus:~/opt/ximian/mono/mono$ exit

Script done on Wed Nov 14 15:31:49 2001

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better