<div class="gmail_quote">On 6 March 2010 19:12, Chris Lattner <span dir="ltr"><<a href="mailto:clattner@apple.com">clattner@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div style="word-wrap:break-word"><div class="im"><div><div>On Mar 6, 2010, at 3:49 AM, Aaron Gray wrote:</div><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204, 204, 204);border-left-style:solid;padding-left:1ex">

<div class="gmail_quote"><div><font color="#000000"><br></font></div><div>I am hoping I can just not build the indexer and will see if I can get a patch together first for 2.7 before submitting a bug report if I have to.</div>



</div></blockquote><div><br></div><div>Okay here's a patch to no build the CIndexer on Cygwin and MinGW :-</div><div><br></div><div><div>Index: tools/Makefile</div><div>===================================================================</div>



<div>--- tools/Makefile<span style="white-space:pre">     </span>(revision 97834)</div><div>+++ tools/Makefile<span style="white-space:pre">    </span>(working copy)</div><div>@@ -10,4 +10,9 @@</div>

<div> LEVEL := ../../..</div><div> DIRS := driver CIndex c-index-test</div><div> </div><div>+ifeq ($(OS), $(filter $(OS), Cygwin MingW))</div><div>+DIRS := $(filter $(DIRS), CIndex)</div><div>+DIRS := $(filter $(DIRS), c-index-test)</div>



<div>+endif</div><div>+</div><div> include $(LEVEL)/Makefile.common</div></div></div></blockquote></div><br></div><div>Hi Aaron, did you actually test that this patch fixes the problem you're seeing?</div><div><font class="Apple-style-span" color="#888888"><font class="Apple-style-span" color="#000000"><br>

</font></font></div></div></blockquote><div><br></div><div>Yes, its been tested on Cygwin, and disables CIndex and its test on Cygwin and MinGW. CIndex makes programatic usage of DL_open so cannot be used on either platform. There maybe a better solution as I just hacked this to get Clang to build on Cygwin..</div>

<div><br></div></div>Aaron<div><br></div>