home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / share / doc / mono-common / README.Debian < prev    next >
Encoding:
Text File  |  2007-02-27  |  2.9 KB  |  108 lines

  1. Mono for Debian
  2. ---------------
  3.  
  4. 1. Documentation can be found in the separated monodoc packages.
  5.  
  6. 2. Supported Processor Architectures for Mono 1.1.x (current)
  7.     JIT:
  8.     Linux/x86
  9.     Linux/AMD64
  10.     Linux/PPC
  11.     Linux/S390 (not functional)
  12.     Linux/ARM
  13.     Solaris/SPARC
  14.     
  15.     Interpreter (deprecated/unmaintained):
  16.     -
  17.  
  18.    Supported Processor Architectures for Mono 1.0.x (old)
  19.     JIT:
  20.     Linux/x86
  21.     Linux/PPC
  22.     MacOS/PPC
  23.  
  24.     Interpreter (deprecated/unmaintained):
  25.     Linux/x86
  26.     Linux/PPC
  27.     HP-UX/HPPA
  28.     S390
  29.     StrongARM
  30.     Solaris/SPARC
  31.     Solaris/SPARC v9
  32.  
  33. 3. Typical problems:
  34. 3a.  Purge your ~/.wapi directory if you see messages like:
  35.  
  36.      ** (/tmp/hello.exe:23770): WARNING **: Shared memory sanity check
  37.      failed.
  38.  
  39.      ** (/tmp/hello.exe:23770): WARNING **: Failed to attach shared memory!
  40.      Falling back to non-shared handles
  41.  
  42.      Reason:
  43.      02:00:00 < totte> .wapi is the shared memory file folder used to handle process.start and someother functions for our IO lib
  44. 3b. Question: 
  45.     Mono does not work for me (wrong version of mscorlib reported) or
  46.     monodevelop breaks on start (MonoDevelop.Core.dll has incorrect
  47.     version...)
  48.     Answer:
  49.     Most likely you have compiled some old Mono version before and have
  50.     a funny mixture of upstream and Debian files in different versions.
  51.     Make sure that /usr/local does not appear in the output of the
  52.     following commands and remove the particular files in /usr/local/...:
  53.  
  54.     which mono
  55.     which mint
  56.     ldd $(which mono)
  57.     ls /usr/local/lib/Mono*dll
  58.     ls /usr/local/lib/System*dll
  59.     ls /usr/local/lib/I18*dll
  60.     (and maybe most other dll files there)
  61.  
  62. 4. (for developers) 
  63.    The main coordination site of the maintainers is on
  64.    http://pkg-mono.alioth.debian.org/, more details can be found there.
  65.    CLI Policy for packaging Mono libraries/applications can be found on
  66.    http://pkg-mono.alioth.debian.org/cli-policy/
  67.    An offline version is in /usr/share/doc/cli-common/ of the the cli-common package.
  68.  
  69. -----------------------------------------------------------------------------
  70.  
  71. PS: Some comparisons (not real benchmarks!), testing different
  72. invocation methods:
  73.  
  74.   The "native" method via exec, binfmt_misc, binfmpt-support (Perl
  75.   script), binfmt-detector-cli:
  76.  
  77. time for x in `seq 1000` ; do ./hello.exe > /dev/null; done
  78.  
  79. real    3m2.969s
  80. user    2m8.060s
  81. sys     0m14.540s
  82.  
  83.   The shell wrapper method using mono:
  84.  
  85. time for x in `seq 1000` ; do ./hello.sh > /dev/null; done
  86.  
  87. real    2m43.146s
  88. user    1m45.990s
  89. sys     0m11.140s
  90.  
  91.   Using "cli-wrapper" with a symlink:
  92.  
  93. time for x in `seq 1000` ; do ./hello > /dev/null; done
  94.  
  95. real    2m23.958s
  96. user    1m32.720s
  97. sys     0m9.640s
  98.  
  99.   The "interpreter" method using mono:
  100.  
  101. time for x in `seq 1000` ; do /usr/bin/cli ./hello.exe > /dev/null; done
  102.  
  103. real    2m23.699s
  104. user    1m33.140s
  105. sys     0m8.920s
  106.  
  107.  Eduard Bloch <blade@debian.org> -- Sat, 19 Jun 2004 02:28:40 +0200
  108.