<div>I have the PIC stuff building properly on Cygwin now, patch attached.</div>
<div> </div>
<div>But unfortunately it does not pass the test/Feature/load_module.ll test in 'make check' though, that needs debugging at some stage, but I have wasted enough time on this patch now, atleast SVN LLVM should compile on Cygwin now.</div>

<div> </div>
<div>The following adds libraries for Cygwin and also for MinGW (not tested) where Linux's g++ ld finds these from a path using a weird command line which does not work on Cygwin or MinGW.</div>
<div> </div>
<div>    lib/Transofrms/Helol/Makefile :-</div>
<div> </div>
<div>    +ifeq ($(OS), $(filter $(OS), Cygwin MingW))<br>    +  USEDLIBS = LLVMAnalysis.a LLVMCore.a LLVMInstrumentation.a LLVMScalarOpts.a LLVMSupport.a LLVMSystem.a LLVMTransformUtils.a LLVMipa.a LLVMipo.a<br>    +else<br>
    +  USEDLIBS =<br>    +endif</div>
<div> </div>
<div>Aaron</div>
<div> </div>
<div> </div>