[Mono-list] RESULT: 0 from mono, not from mint.

Paolo Molaro lupus@ximian.com
Wed, 27 Mar 2002 12:30:27 +0100


On 03/27/02 Peter M. Lemmen wrote:
> But why does the mono jit engine display a line 'RESULT: 0' after executing the
> .NET binary? Executing the same binary with mint does not show this line.

It's a debugging print. it will be removed in future releases.

> Also, I vaguely remember from the last time I compiled a kernel that linux has
> some kind of generic binary support. I remember that this could be used to run
> java classes without having to write out a whole command line with the JVM and
> everything. Could the same mechanism be used to run .net binaries without
> having the specify mono every time?

The kernel can look at the first few bytes in a file to decide
what interpreter to run on it: unfortunately the number of bytes it uses
is not enough to distinguish a .net program and a msdos/windows program
to be run with wine, so a wrapper needs to be used. Oh, and someone
needs to write it, hint, hint :-)

lupus

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