Hi,<div><br></div><div>  I think this is some kind of cygwin/mingw/gcc bug. If you run:</div><div><br></div><div>mono hello.exe; echo X</div><div><br></div><div>The X gets printed before the Hello, World, which means the &#39;mono&#39; executable doesn&#39;t wait for the real .libs/mono.exe executable to finish before exiting.</div>
<div><br></div><div>.libs/mono.exe hello.exe; echo X</div><div><br></div><div>works fine.</div><div><br></div><div>                                       Zoltan<br><br><div class="gmail_quote">On Wed, Mar 9, 2011 at 4:46 AM, Jonathan Chambers <span dir="ltr">&lt;<a href="mailto:joncham@gmail.com">joncham@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello,<div><br></div><div>I am doing some work on Windows, but am hitting a recurring problem when building via cygwin. The first time I build from a clean git checkout, things go fine. However, once I update and try another build I get a series of errors similar to:</div>

<div><br></div><div><div>make[8]: Entering directory `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen&#39;</div><div>MCS     [net_2_0] resgen.exe</div><div>mv resgen.exe ./../../class/lib/net_2_0/resgen.exe</div>

<div>mv: cannot stat `resgen.exe&#39;: No such file or directory</div><div>make[8]: *** [../../class/lib/net_2_0/resgen.exe] Error 1</div><div>make[8]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen&#39;</div>

<div>make[7]: *** [do-all] Error 2</div><div>make[7]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen&#39;</div><div>make[6]: *** [all-recursive] Error 1</div><div>make[6]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs/class&#39;</div>

<div>make[5]: *** [all-recursive] Error 1</div><div>make[5]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs&#39;</div><div>make[4]: *** [profile-do--net_2_0--all] Error 2</div><div>make[4]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs&#39;</div>

<div>make[3]: *** [profiles-do--all] Error 2</div><div>make[3]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono/mcs&#39;</div><div>make[2]: *** [all-local] Error 2</div><div>make[2]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono/runtime&#39;</div>

<div>make[1]: *** [all-recursive] Error 1</div><div>make[1]: Leaving directory `/cygdrive/c/Users/Owner/Development/monogit/mono&#39;</div><div>make: *** [all] Error 2</div></div><div><br></div><div>resgen.exe does in fact exist at /cygdrive/c/Users/Owner/Development/monogit/mono/mcs/tools/resgen</div>

<div><br></div><div>If I run &#39;make&#39; again, it will get past this error and fail later on with similar errors. Any thoughts on what could be causing this?</div><div><br></div><div>Thanks,</div><div>Jonathan</div>
<br>_______________________________________________<br>
Mono-devel-list mailing list<br>
<a href="mailto:Mono-devel-list@lists.ximian.com">Mono-devel-list@lists.ximian.com</a><br>
<a href="http://lists.ximian.com/mailman/listinfo/mono-devel-list" target="_blank">http://lists.ximian.com/mailman/listinfo/mono-devel-list</a><br>
<br></blockquote></div><br></div>