[Mono-dev] Compiling mono on windows for developing (not running)
Martin Thwaites
monoforum at my2cents.co.uk
Tue May 13 22:26:55 UTC 2014
Hi Alex,
I've been giving your tutorial ago, and I have some things that may be good
to add...
firstly, I'm building from git, and I checked it out using the visual
studio clone. I think this lead to a line endings error, so you need to
run the script in a way that uses them properly. I found that if you run
it with "bash -x -o igncr autogen.sh --prefix="c:\monoinstall"
--with-preview=yes" it seems to do the trick.
I've now come across another error that you may be able to help with:
=== configuring in eglib (/cygdrive/c/Users/Martin/Source/Repos/mono/eglib)
configure: WARNING: no configuration information is in eglib
=== configuring in libgc (/cygdrive/c/Users/Martin/Source/Repos/mono/libgc)
configure: running /bin/sh ./configure --disable-option-checking
'--prefix=/usr/local' '--host=i686-pc-mingw32'
'host_alias=i686-pc-mingw32' 'CPPFLAGS_FOR_EGLIB=' 'CFLAGS_FOR_EGLIB='
'--disable-embed-check' '--with-libgc-threads=win32'
'--enable-win32-dllmain=yes' '--enable-parallel-mark'
'CPPFLAGS_FOR_LIBGC=-DWINVER=0x0500 -D_WIN32_WINNT=0x0500
-D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024'
'CFLAGS_FOR_LIBGC= -g -mno-tls-direct-seg-refs -DGC_BUILD -DGC_NOT_DLL'
--cache-file=/dev/null --srcdir=.
/bin/sh: ./configure: No such file or directory
configure: error: ./configure failed for libgc
I'm now at a loss.
As I've stated before, what I'm looking to do is be able to develop mono
(not develop with) in Visual Studio. Maybe the stuff the Miguel is doing
will help, but I just had a bit of time so thought I'd give your stuff ago.
Thanks,
Martin
On 5 May 2014 03:52, Alex J Lennon <ajlennon at dynamicdevices.co.uk> wrote:
>
> On 05/05/2014 03:44, Konaju Games (Dev) wrote:
>
> > With Cygwin, there is one change to make to etc/fstab before starting
> > a build. You need to add noacl to the cygdrive mount. Without this
> > change, any files created by a Win32 process outside of Cygwin will
> > result in Cygwin having no permissions to do anything with the files.
> >
> http://georgik.sinusgear.com/2012/07/14/how-to-fix-incorrect-cygwin-permission-inwindows-7/
> >
>
> Thanks, I'll have a look and see if that addresses the issue I was
> seeing with having /usr/local mounting during the build.
>
> Regards, Alex
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20140513/907f371d/attachment.html>
More information about the Mono-devel-list
mailing list