[Mono-dev] Building Mono on Windows

Jonathan Chambers joncham at gmail.com
Sat Mar 3 15:23:43 UTC 2012


I am attempting to build mono on Windows using cygwin. I have been building
the runtime using Visual Studio, and using class libraries built on
Linux/OSX. This prevents me from easily running the runtime/classlib tests
though. So, I clone the mono repository, and attempt to configure. I
immediately get a ton of errors all related to line endings in the scripts.
Looking at the .gitattributes file it appears we work native line endings
on *.sh files.

https://github.com/mono/mono/blob/master/.gitattributes

I locally converted all *.sh files to LF, and that gets me a bit further
but things still fail. Is anyone else building on cygwin? Assuming I make
progress enough to run a build, is there any reason for scripts to be
checked out with CRLF endings?

I am trying to get things building on windows and re-documenting the
minimum steps needed to get a build. I had made a good bit of progress
using msys/MinGW instead of cygwin, but hit an issue where it can't handle
'/' specified flags on the command line. They need escaped to '//'. I
decided to go back to cygwin before proceeding any further with MinGW.

Thanks,
Jonathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120303/54cd43a1/attachment.html>


More information about the Mono-devel-list mailing list