<div class="gmail_quote">On Fri, Mar 6, 2009 at 11:22 PM, Aaron Gray <span dir="ltr"><<a href="mailto:aaronngray.lists@googlemail.com">aaronngray.lists@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="gmail_quote">
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Nick,</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Think I have got the Cygwin problem sussed. There was a -nostdlib on the libLTO link and on LLVMHello Cygwin's linking requires listing libraries, it does not seem to search directories for them link Linux'es ld does, plus a few misc issues.</font></div>

<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Heres a provisional patch I have checked it on x86 Linux as well as Cygwin, to 'make tools-only' level, debug build.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">There maybe a bit more clearing up to be done the original build system does do some duplication of g++ flags which should be dealt with at some point. Also there is the difference in Linux finding libraries given '-L' paths where as Cygwin seems to have them listed on '-l' switches. </font></div>

<div> </div>
<div>Yeah I want to switch my development to Linux as it it just about 10 times faster than Cygwin.</div></div></div></blockquote>
<div> </div>
<div>I did say a provisional patch :)</div>
<div> </div>
<div>I am getting the following failure on 'make check' on x86 Linux :-</div>
<div> </div>
<div>   Running /usr/src/llvm/test/Feature/dg.exp ...</div>
<div>   FAIL: /usr/src/llvm/test/Feature/load_module.ll for PR1318<br>   Failed with exit(1) at line 1<br>   while running:  llvm-as < /usr/src/llvm/test/Feature/load_module.ll |  opt -load=/usr/build/llvm/Debug/lib/LLVMHello.so -hello  -disable-output - |& /bin/grep Hello<br>
   child killed: SIGABRT <br>   child process exited abnormally<br></div>
<div>Doing tests...</div>
<div> </div>
<div>Aaron</div>
<div> </div></div>