[Mono-dev] Ideas for Mono on Windows

"Andrés G. Aragoneses" knocte at gmail.com
Thu Nov 13 19:10:07 EST 2008


This is awesome news.

However, this doesn't change the fact that a Windows developer will have
to remember to change the makefiles if she contributes a patch with
files included/removed (and a Win developer usually doesn't know how to
do this as well).

But if you write your tool to be able to do the opposite thing as well,
you could just call it in the MSbuild files in order to change them as a
part of the build, right? If this can be done, even the non-Windows
developers that aren't used to AutoTools will benefit from it when
xbuild is finished.

	Andrés


Jonathan Chambers wrote:
> Paolo,
>      Thanks for the response.
> 
> On Thu, Nov 13, 2008 at 9:01 AM, Paolo Molaro <lupus at ximian.com
> <mailto:lupus at ximian.com>> wrote:
> 
>     On 11/11/08 Jonathan Chambers wrote:
>     > 1) We should consider using MSVC as the default compiler for C code on
>     > Windows. I can compile the entire Visual Studio solution for the
>     runtime in
>     > minutes. It takes 20-30 seconds if I do a parallel build. We can
>     also use
>     > the Visual Studio debugger on Windows, which IMO is betten than gdb on
>     > Windows.
> 
>     So this is already done by you, AFAIK. I even add new .c files to
>     the MSVC build
>     files (when I remember about it:).
> 
>     > it). Another option is to moved to MSBuild/xbuild for the class
>     libraries.
> 
>     I think you're taking it from the wrong side.
>     There is no need to move the Linux build system to xbuild or whatever.
>     As other have mentioned, the build files can be generated from the
>     .sources files quite easily. You can write the conversion script in perl
>     or even C# and we can have rules in the makefiles to run them
>     automatically when the source files are modified.
> 
> 
> 
>     AFAIK, the only two things missing are:
>     1) a windows developer that volunteers writing the script and
>     MSBuild/xbuild files.
> 
>  
> I have started writing this tool in C#. It correctly generates a csproj
> file from the Makefile and the <library>.dll.sources files. It already
> works on most assemblies in mcs/class. I'm working on generating the
> corresponding NUnit projects as well.I'll hopefully post something in a
> couple of days.
> 
> 
>     2) a windows developer that documents the thing for other windows
>     developers so they are not tricked into going down the cygwin route
>     anymore and just click on the right buttons instead.
> 
>  
> I can also look into this once a full build is working. Not to mention
> the fact the xbuild needs a good bit of work.
> 
> 
> 
>     As you see we only need some windows developer to step up to the plate.
>     I suggest starting to build the complete assemblies first, without
>     going into the details of bootstrapping. This should take an hour or
>     two. And then we (mostly hari I guess) can help with the bootstrap
>     details.
> 
>     So, who volunteers?
> 
> 
> I would appreciate any help offered by others ;-). Hacking on xbuild
> (including contributing tests) would be expecially useful...
> 
> Thanks,
> Jonathan
>  



More information about the Mono-devel-list mailing list