[Mono-list] Nant & buildfile required errors? (+patch)

Paolo Molaro lupus@ximian.com
Tue, 10 Dec 2002 11:29:49 +0100


On 12/10/02 Jeroen Janssen wrote:
> >>3) can mcs currently compile all the class libraries? (since I was 
> >>hitting some compiler errors)
> >
> >Yes, it can, but not on Windows.  The problem is that System.Reflection
> >in Windows has some shortfalls and bugs that the Mono version works
> >around, so it is in particular not possible to compile the corlib with
> >mcs on Windows, you have to use CSC on Windows.  
> 
> Ah, ok.. that explains things.
> Does that also mean you can't run mcs in 'Mono' under Windows and 
> compile the class libraries (without the MS .NET Framework), or is it a 
> problem on the Windows platform in general?

mcs can compile all the assemblies when run with the mono runtime.
When mcs is run with the MS runtime it can't compile corlib (because of
bugs and missing functionality in the MS implementation of
Reflection.Emit). So, you can compile all the assemblies with mcs on
windows as long as you use the mono runtime to run mcs.

lupus

-- 
-----------------------------------------------------------------
lupus@debian.org                                     debian/rules
lupus@ximian.com                             Monkeys do it better