我发现mono 3.2 或最新的稳定版发布了,但它没有windows 的预编译版本。
因此,我尝试在 ubuntu 上编译单声道 3.2 的源代码,并按照http://www.mono-project.com/Cross-compiling_Mono_for_Windows上的页面进行操作,但它不起作用。这使我认为该页面已过时。
这是我得到的错误:
CC libmini_static_la-mini-windows.lo
../../../mono/mini/mini-windows.c: In function 'mono_chain_signal':
../../../mono/mini/mini-windows.c:89: warning: unused variable 'ctx'
../../../mono/mini/mini-windows.c:88: warning: unused variable 'signal'
CXXLD libmini-static.la
CC mono_boehm-main.o
../../../mono/mini/main.c:98: warning: function declaration isn’t a prototype
CCLD mono-boehm.exe
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/eglib/src:/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs:/mono-3.2.0/lib:/mono-3.2.0/bin'
libtool: link: Continuing, but uninstalled executables may not work.
CC main.o
../../../mono/mini/main.c:98: warning: function declaration isn’t a prototype
CCLD monow.exe
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs'
libtool: link: Continuing, but uninstalled executables may not work.
libtool: link: Could not determine the host path corresponding to
libtool: link: `/home/rocky/dev/mono-3.2.0/build-cross-windows/eglib/src:/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini/.libs:/mono-3.2.0/lib:/mono-3.2.0/bin'
libtool: link: Continuing, but uninstalled executables may not work.
make[4]: *** No rule to make target `mono.exe', needed by `all-am'. Stop.
make[4]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono/mini'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows/mono'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rocky/dev/mono-3.2.0/build-cross-windows'
make: *** [all] Error 2
在那之后,我用谷歌搜索了它,但没有任何有用或有用的附加信息。
有没有人可以技术我如何在 Ubuntu 或任何其他 linux 版本上交叉编译 windows 的 mono 3.2 或最新版本?