WEB开发网
开发学院软件开发C语言 浅谈 Microsoft C# 编译器和 Mono C# 编译器 阅读

浅谈 Microsoft C# 编译器和 Mono C# 编译器

 2009-05-09 08:26:41 来源:WEB开发网   
核心提示: Linux 操作系统和编译器如下所示:图片看不清楚?请点击这里查看原图(大图)。ben@linux-cod2:~/work>cat/etc/issueWelcometoopenSUSE11.1-Kernelr(l).ben@linux-cod2:~/work>uname-srv

Linux 操作系统和编译器如下所示:

浅谈 Microsoft C# 编译器和 Mono C# 编译器

图片看不清楚?请点击这里查看原图(大图)。ben@linux-cod2:~/work> cat /etc/issue
Welcome to openSUSE 11.1 - Kernel r (l).

ben@linux-cod2:~/work> uname -srvm
Linux 2.6.27.21-0.1-default #1 SMP 2009-03-31 14:50:44 +0200 x86_64
ben@linux-cod2:~/work> mono --version
Mono JIT compiler version 2.4 (tarball Fri Mar 13 15:52:25 UTC 2009)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com

TLS:      __thread

GC:      Included Boehm (with typed GC)

SIGSEGV:    altstack

Notifications: epoll

Architecture: amd64

Disabled:   none
ben@linux-cod2:~/work> gmcs --version
Mono C# compiler version 2.4.0.0
ben@linux-cod2:~/work> gmcs -out:block.mono.exe block.cs
ben@linux-cod2:~/work> 

下面就是在这两个操作系统下分别编译后的结果:

E:work>dir
 Volume in drive E is Data2
 Volume Serial Number is 16BB-989E

 Directory of E:work

2009/05/08 21:21  <dir>     .
2009/05/08 21:21  <dir>     ..
2009/05/08 20:02        318 block.cs
2009/05/08 20:10       3,584 block.mono.exe
2009/05/08 21:21       4,096 block.windows.exe
        3 File(s)     7,998 bytes
        2 Dir(s) 61,416,194,048 bytes free

E:work>

上一页  1 2 3 4 5 6  下一页

Tags:Microsoft 编译器 Mono

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接