[Mono-dev] [CI] Building Mono executable under Windows
Alex J Lennon
ajlennon at dynamicdevices.co.uk
Mon Oct 20 18:51:27 UTC 2014
On 20/10/2014 17:12, Alex J Lennon wrote:
>
> On 20/10/2014 17:08, Rafael Teixeira wrote:
>> I would guess at /usr/local/bin which in the Windows world would be
>> relative to the cygwin installation directory...
>>
> Mmm I would have thought so too - but it doesn't appear to be created,
> either by make, or by make install...
>
> e.g. a 'find -name mono.exe' gives nothing either in the source tree or
> the install tree.
>
> Maybe I need to go back to 3.2.3 branch to see what used to happen.
>
I've build this again under Cygwin with mono-3.10.0-branch
autoconf/configure/make/make install
I was wrong about the source tree. There is a mono.exe in mono/mini.
However this is a symlink to mono-sgen.exe
which seems to be a build output from the timestamp.
I suspect this is related to symlinking issues with Cygwin and with the
Mono build as the make install step creates
a "mono" file in the installation bin directory, rather than the needed
"mono.exe".
My reading seems to indicate that unless configured otherwise Cygwin
creates "magic cookie" shortcuts for
symlinks so it might be that the install process is causing Cygwin to
create that shortcut as "mono" rather than
"mono.exe" and that what we really need is either to configure Cygwin to
generate hard links instead of magic
cookies or perhaps preferably just to copy mono-sgen.exe as mono.exe
ref:
http://stackoverflow.com/questions/3648819/how-to-make-symbolic-link-with-cygwin-in-windows-7
There's also a similar thing going on with mcs I think
Cheers,
Alex
More information about the Mono-devel-list
mailing list