[Mono-list] kernel support

Thong (Tum) Nguyen tum@veridicus.com
Tue, 17 Jun 2003 17:35:59 +1200


That would break mono binaries on other CLIs though..

Try this: http://go-mono.com/tutorial/html/en/installation/linux.html
(bottom of the page)

Regards,

^Tum


> -----Original Message-----
> From: mono-list-admin@lists.ximian.com [mailto:mono-list-
> admin@lists.ximian.com] On Behalf Of Simon Kitching
> Sent: Tuesday, 17 June 2003 5:31 p.m.
> To: George Farris
> Cc: mono list; mono devel list
> Subject: Re: [Mono-list] kernel support
> 
> On Tue, 2003-06-17 at 16:08, George Farris wrote:
> > Does anyone know what the plans are for kernel support of mono
> > binaries?  Right now a binary mono file shows as:
> >
> > MS Windows PE 32-bit Intel 80386 console executable
> 
> What command displays this??
> 
> >
> > This of course, is totally unacceptable on a Linux machine.  I want
to
> > be able to run my binaries directly instead of through a shell
script.
> 
> Well, for executable file which starts with the byte sequence
> corresponding to "#!", the application loader will extract the
following
> characters up to the next linefeed, and start that application passing
> the "executed" filename as a parameter.
> 
> This is most familiar from shell scripts, perl, etc., but it works for
> any "interpreter" and mono is an interpreter...
> 
> So if
> (a)
> the mono compiler inserts:
>   #!mono\n
> at the start of each binary, and
> (b)
> the mono runtime skips over these bytes when they occur at the start
of
> an executable
> 
> then it should be possible to start mono executables as if they were
> "native".
> 
> I'm a real newbie to mono, so I don't know if this functionality
already
> exists...
> 
> Cheers,
> 
> Simon
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list