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

Carlos Perelló Marín carlos@pemas.net
17 Jun 2003 23:32:31 +0200


--=-KYasdUEl+ln5FYLh+abn
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: quoted-printable

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

Cheers.

>=20
> I just proposed this as a temporary (standard) solution that developers=20
> can/should use _now_ while waiting for something like binfmt_exe. (Surely=
=20
> it isn't something new.)
>=20
> --   dag wieers,  dag@wieers.com,  http://dag.wieers.com/   --
> [Any errors in spelling, tact or fact are transmission errors]
>=20
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
--=20
Carlos Perell=F3 Mar=EDn
Debian GNU/Linux Sid (PowerPC)
Linux Registered User #121232
mailto:carlos@pemas.net || mailto:carlos@gnome.org
http://carlos.pemas.net
Valencia - Spain

--=-KYasdUEl+ln5FYLh+abn
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada
	digitalmente

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQA+74jvEuPMamD5V9cRAqyGAJsEAdi6WlYv/23F08WVwULqA4Gk7gCffYr5
sU+vbUMn8lNr0bPUyg8YQ0Q=
=tCca
-----END PGP SIGNATURE-----

--=-KYasdUEl+ln5FYLh+abn--