[Mono-dev] Mono for Windows test build

Andoni Morales ylatuya at gmail.com
Thu Feb 12 13:06:20 UTC 2015


2015-02-12 13:58 GMT+01:00 Andoni Morales <ylatuya at gmail.com>:
> 2015-02-11 18:21 GMT+01:00 Andoni Morales <ylatuya at gmail.com>:
>>
>> 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.
>>
>> 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:
>> #!/bin/bash
>> 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.
>>
>> 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.
>>
>> Other binaries like pkg-config.exe or mprof-report.exe can be run correctly.
>
>
> I fixed the issue with mono.exe and mono-sgen.exe with:
> EDITBIN mono.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1
> So it looks like the link flags are not using the correct os version.
>
> In my previous mail I was probably not clear enough about the issue
> with the .bat files. They are not being called directly from the
> msys/mingw shell but it's xbuild calling them, so xbuild can't be used
> with this new .bat using cygpath.

The batch files have nothing to do with the cygpath issue, it's just
the shell scripts :)
I will propose a patch for the different issues.

Andoni
>
> Cheers,
> Andoni
>
>
>>
>> Cheers,
>> Andoni
>>
>> 2014-12-01 20:41 GMT+01:00 Alexander Köplinger <alex.koeplinger at outlook.com>:
>>>
>>> Hey Jo, I tried it and it installed fine for me.
>>> However, the version is currently set to 3.12.1 in https://github.com/directhex/newbuilder/blob/master/resources/build.bat and https://github.com/directhex/newbuilder/blob/master/resources/bat/setmonopath.bat, I guess we should change that to 3.12.0.
>>>
>>> Btw. build.bat could be integrated into the bash files quite easily I think (for consistency), it just invokes msbuild.
>>>
>>> The BCL assemblies are taken from the 3.10 MDK installer as far as I can see?
>>>
>>> -- Alex
>>>
>>> > Date: Mon, 1 Dec 2014 17:44:51 +0000
>>> > From: directhex at apebox.org
>>> > To: mono-devel-list at lists.ximian.com
>>> > Subject: [Mono-dev] Mono for Windows test build
>>>
>>> >
>>> > -----BEGIN PGP SIGNED MESSAGE-----
>>> > Hash: SHA1
>>> >
>>> > Hi everyone
>>> >
>>> > Following on from lots of recent discussion, I've got the first test
>>> > build of Mono for Windows which I'd describe as "usable".
>>> >
>>> > This is based on the mono-3.12.0-branch branch on github.
>>> >
>>> > Please report success or failure with it, as I'm not a Windows expert.
>>> > Especially interested in success/failure from Windows embedders.
>>> >
>>> > I'll get the scripts involved in building this stuff (so you can try
>>> > it locally, developery types) added to github.com/mono/release.git by
>>> > the end of tomorrow.
>>> >
>>> > https://drive.google.com/open?id=0Bz6-k9ELOQf3YTE1RHV3Y0dNaFU&authuser=0
>>> >
>>> > == Headlines ==
>>> >
>>> > * Runtime compiled with Microsoft Visual Studio 2013, for extra speed
>>> > * SGen by default
>>> > * Includes Gtk#, F#, IronPython, Boo, IronRuby (as per Mono MDK for Mac)
>>> > * .lib files for libmono (Boehm) and libmonosgen (SGen)
>>> > * Installs side-by-side with old 3.2.3 installer
>>> >
>>> > == Known Issues ==
>>> >
>>> > * No policy files for Gtk# (but who has Gtk#2.10 apps these days?)
>>> > * Works from cmd.exe or Cygwin, but not MSYS
>>> > * FSharp does not run from cmd.exe, fails with a timezone error (works
>>> > in Cygwin)
>>> > * Xamarin Studio does not run from cmd.exe with "mono
>>> > XamarinStudio.exe" (works in Cygwin)
>>> > -----BEGIN PGP SIGNATURE-----
>>> > Version: GnuPG v1
>>> >
>>> > iQEcBAEBAgAGBQJUfKkPAAoJEMkPnLkOH60MRjUH/23JvJz6XeEnp8SW1t0IdWLV
>>> > Lkpr1I5KklVlBsw9RaTLoXozIDwrCRf1npMzZI85Q3UUtMXYmzf3V+VM8mbhC0hG
>>> > z1gJY1UXTVVoz1TSGHVQ04l4Kldq0NYJI6h6z2HzrWGq2ball5voM9PqrdcvLKD9
>>> > +iaVGmZQ3u7DbyDO2417wfRbZkebDuastDwKLtpk8Z5L7Hq2RBI8t19elPKS1Cu2
>>> > cqN8PQoXpyylUuxnE4hfkLS09bMutaqGRPNE5+SnwrHqsbAHF6szv4z+iAFQa4j5
>>> > r81N+UhF4t85xZlHGke6w4PC2kjCEFVCj/Qp2Chd2VA1r4WMyk0tphuROvIwpwM=
>>> > =SumB
>>> > -----END PGP SIGNATURE-----
>>> > _______________________________________________
>>> > Mono-devel-list mailing list
>>> > Mono-devel-list at lists.ximian.com
>>> > http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>> _______________________________________________
>>> Mono-devel-list mailing list
>>> Mono-devel-list at lists.ximian.com
>>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>>
>>
>>
>>
>> --
>> Andoni Morales Alastruey
>>
>> LongoMatch:The Digital Coach
>> http://www.longomatch.ylatuya.es
>
>
>
>
> --
> Andoni Morales Alastruey
>
> LongoMatch:The Digital Coach
> http://www.longomatch.ylatuya.es



-- 
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es


More information about the Mono-devel-list mailing list