[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[DotGNU]Re: [Mono-list] Xsharp (was Re: Hey Everaldo, have you seen this

From: Rhys Weatherley
Subject: [DotGNU]Re: [Mono-list] Xsharp (was Re: Hey Everaldo, have you seen this?)
Date: Sun, 22 Sep 2002 08:59:12 +1000

Zaphod wrote:
> On Sat, Sep 21, 2002 at 09:32:06AM +1000, Rhys Weatherley wrote:
> > If you configure the system as "./configure --with-mono", it
> > will attempt to build using mcs (I don't know if this will
> > work - haven't tried it).  You still need csant and resgen
> > to provide the build framework at the moment.  Feel free to
> > send patches for building pnet-less.
> Is csant and resgen written in C# (and thereby requiring it to run
> it in pnet ?) ... I'm currently facing the issue with NAnt ..

All of the pnet build tools, including cscc, csant, and resgen,
are written in C so that the system can eventually bootstrap
itself without the chicken-and-egg problem.

> > The important thing is whether it runs on Mono, not whether
> > it compiles with Mono.  The exact means used to build the
> > assemblies should be immaterial as long as a valid IL binary
> > drops out the bottom.
> Why should it not run on Mono ? ... It's standard IL , I hope ..

I was saying that it will run on Mono (feel free to send
me patches if it doesn't).

> Also is it written in C# ? ...

Xsharp is written in C#, using PInvoke to access the native Xlib.
Just like Gtk#.

> I heard someone say something about
> recompiling the C code using pnet compiler to generate IL.. Is this
> something like that or just the C# wrapper ?

The pnet C compiler is not used for Xsharp.

To re-iterate: the code is plain vanilla C# and probably will
compile under mcs.  However, the automake/autoconf build system
is currently set up to assume the presence of pnet tools.  Right
now, if you want to build it without pnet tools, you'll have to
run mcs manually, until someone can apply the necessary voodoo
to the automake/autoconf system to use only Mono tools.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]