[Mono-list] kernel support

George Farris george@gmsys.com
20 Jun 2003 08:11:59 -0700


On Fri, 2003-06-20 at 04:04, Sam Clegg wrote:
> On Tue, Jun 17, 2003 at 04:40:38PM -0700, George Farris wrote:
> > This of course doesn't work since it registers both mono and wine
> > binaries.
> > 
> > What we really need is native support under Linux so that the "file"
> > command returns something like so:
> > 
> > MONO 32-bit LSB executable, Intel 80386, version 1 (SYSV) for Linux
> 
> If nono compiles to native code (Intel 80386), wouldn't it make sense
> to simply use ELF files.  For IL assemblies 'file' probably shouldn't 
> mention mono, intel or linux.
> 
This of course is a valid point however mono executable don't compile to
native ELF files.  They require the mono virtual machine to run.  Now
having said that I think you have hit upon the solution.  We need to be
able to compile mono apps to standalone ELF executables.

Seems there was some mention of compiling mono to native ELF at one
point has it gone anywhere?

> > There will be times when one just wants the app to run under Linux
> > because it is designed for it.
> 
> Isn't the whole point of .NET to eliminate platform dependacies.
> As long as the correct asseblies are present applications should
> run anywhere, right?

This is only true where the author desires this.  There are times when
one just wants a plain old Linux app and the application is so closely
tied to Linux internally that it is a makes no sense to use it
otherwise.  Imagine an application that dealt with the /proc
filesystem.  Completely useless under any other platform.


-- 
George Farris <george@gmsys.com>