[Mono-dev] What is best environment for building mono-2.8.1 for Windows?

Jérôme De Cuyper jerome.decuyper at gmail.com
Tue Dec 21 22:48:28 EST 2010

On Tue, Dec 21, 2010 at 7:44 PM, greenaj <greenaj at cox.net> wrote:

> Awsome, thanks a lot.
> I seemed to be cross-compiling successfully for Windows on SuSE 11.3 using
> a
> Virtual Box image.  I accidentally deleted the snapshot with the build
> configuration and now after setting up the build environment again the
> build
> does not seem to go the same.  libmono-2.0.dll is not built, but there is
> an
> libmono-2.0.a that goes into the mono-2.8.1-tarball-rrUNKNOWN/lib
> directory.
> When running in Windows, the libmono-2.0.a is not even loaded.  I though
> mono needed this library.
> Both builds (the one before I screwed up my build environment, and one
> afterwards) from SuSE 11.3 seem to work on Windows, but I am leery of a
> process that is not reproducible.  I got both builds to work on windows,
> but
> the first needs libmono-2.0.dll to run.  Why is libmono-2.0.dll not being
> built?
I found the libmono-2.0.a file inside the build directory I created and also
inside the directory where the original mono was installed.
I am not sure about the libmono-2.0.dll file. Someone has any ideas?

> Do I need to set a PKG_CONGIC_PATH environment variable?  I thought the
> build-mingw32.sh script took care of all of that.

If you are building mono on openSUSE targeting Windows then you don't need
to set the path var PKG_CONFIG_PATH for cygwin.
I think you only need it for the compilation process on Windows with cygwin.

> I would also like to try building on Windows under Cygwin, but I had a
> stable SuSE 11.3 Cross Compilation enviroment that seemed to work.  I set
> it
> up according to
> http://www.mono-project.com/Cross-compiling_Mono_for_Windows
> http://www.mono-project.com/Cross-compiling_Mono_for_Windows .

> View this message in context:
> http://mono.1490590.n4.nabble.com/What-is-best-environment-for-building-mono-2-8-1-for-Windows-tp3096152p3159995.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> 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/20101221/8050f0a0/attachment-0001.html 

More information about the Mono-devel-list mailing list