[Mono-devel-list] Re: [Gtk-sharp-list] kernel support.

Carlos Perelló Marín carlos at pemas.net
Tue Jun 17 17:32:31 EDT 2003

El mar, 17-06-2003 a las 23:17, Dag Wieers escribió:
> On 17 Jun 2003, Carlos [ISO-8859-1] Perelló Marín wrote:
> > I think that the best solution is the binfmt feature with the wrapper
> > that exists with Debian packages at:
> > 
> > http://www.debianplanet.org/mono/dists/unstable/main/source/admin/
> > 
> > If you want use it with Big endian machines, you should apply a patch
> > (http://carlos.pemas.net/debian/mono/binfmt-detector-cli.c.diff)
> > 
> > It works really good and lets you use wine also, it reads the .exe file
> > headers and check if it's a .net executable.
> > 
> > This way you just execute: ./my-cool-mono-application.exe and it works
> > without the need of any wrapper.
> The main problem is that this only works if you have control over both the 
> Wine package and the Mono package. Which unfortunately we don't. Even on 
> Debian you can't force to update both Wine and Mono for this NOW.
> And actually it is a workaround for shortcomings in the way binfmt_misc 
> works. Whereas it has some overhead too. So the proper solution is to have 
> a binfmt_exe module in the kernel (that can be compiled seperately) or 
> make binfmt_misc able to make a difference between Windows executables 
> and .Net binaries.

Hmmm I have wine and mono installed and that solution works for me, when
I execute a .NET binary it uses mono and when I execute any other
Windows binary it uses wine.

I don't see where is the problem...


> I just proposed this as a temporary (standard) solution that developers 
> can/should use _now_ while waiting for something like binfmt_exe. (Surely 
> it isn't something new.)
> --   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
> [Any errors in spelling, tact or fact are transmission errors]
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
Carlos Perelló Marín
Debian GNU/Linux Sid (PowerPC)
Linux Registered User #121232
mailto:carlos at pemas.net || mailto:carlos at gnome.org
Valencia - Spain
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20030617/d2675966/attachment.bin 

More information about the Mono-devel-list mailing list