[Mono-dev] Mono for Windows test build (Mono-devel-list Digest, Vol 118, Issue 10)
directhex at apebox.org
Thu Feb 12 12:40:23 UTC 2015
On 11/02/15 17:21, Andoni Morales wrote:
> First of all, thanks for taking care of the Windows installers and proving
> an updated version with the latest release :)
> The wrapper shell scripts for the .bat tools (al.bat, xbuild.bat, etc...)
> in this new installer are using cygpath to convert paths, which makes them
> unusable in a msys/mingw environment. cygpath should be used conditionally
> when used within cygwin and it's not needed when used with msys.
Technically, there are both shell scripts (no extension) and batch files
(.bat). The batch files aren't using cygpath, but the shell scripts are.
In testing, I couldn't get msys to do anything useful, and took an
executive decision not to care about it for the 3.12 release - support
for Cygwin and cmd.exe was enough to get some testing & feedback.
I'd welcome a decent fix, though. That mangling is done at
> Since all of them are using "cygpath -w /path/to/dir", for now as a
> workaround I have created a shell script named cygpath that does:
> echo $2
> Another improvements for the installers would be to set an environment
> variable with the installation path like MONO_ROOT, as it's easier to use
> it than gathering this info from the registry.
I assume that'd be handled somewhere in
Sorry, I'm not an expert on WiX, someone else contributed that.
> On Windows XP, with SP3 and the VC redist package installed, mono.exe and
> mono-sgen.exe won't start with the following error:
> mono.exe is not a valid Win32 application.
It's super hard to care about XP, which ended its life a year ago.
mono-sgen.exe and mono.exe (and mono-boehm.exe) are compiled with
MSVC++2013, and possibly some compiler flag or parameter in the vcxproj
files is incompatible with XP - but I wouldn't know which one, and I
haven't tested at all with XP.
> Other binaries like pkg-config.exe or mprof-report.exe can be run correctly.
mprof-report etc are still compiled with Cygwin against a mingw target.
pkg-config.exe is provided verbatim from a binary download from
gnome.org - I assume they build on linux with a mingw cross-compiler.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list