<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16414" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV>
<DIV><FONT face=Arial size=2>Hello,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Well theres not too much to it. A patch for 
Cygwin's stdint.h. And a patch for lib/System/Unix/Program.inc.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Despite Cygwin complaining of timing errors both 
LLVM and LLVM-GCC4 compile ok'ish.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>    make[2]: Warning: File 
`/dev/null' has modification time 0.0096 s in the future</FONT></DIV>
<DIV><FONT face="Courier New" size=2>    make[2]: 
warning:  Clock skew detected.  Your build may be incomplete. 
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I am getting this on both XP and Vista and am 
writting to the Cygwin list regarding this.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In Cygwin's 'include/stdint.h' int32_t and uint32_t 
have to be changed from long's to int's.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>        <A 
href="http://www.aarongray.org/LLVM/Patches/stdint.h.diff">http://www.aarongray.org/LLVM/Patches/stdint.h.diff</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The alternative is to add some disambiguation 
functions to LLVM, these would be inline and transparent with no 
overhead.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>And 'lib/System/Unix/Program.inc' has to have three 
lines #def'ed out on the Cygwin build.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>        <A 
href="http://www.aarongray.org/LLVM/Patches/Program.inc.diff">http://www.aarongray.org/LLVM/Patches/Program.inc.diff</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>This is because Cygwin does not support 
RLIMIT_RSS.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>There are 'make check' results here :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>        <A 
href="http://www.aarongray.org/LLVM/check.txt">http://www.aarongray.org/LLVM/check.txt</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The summary :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face="Courier New" size=2>  ===  Summary 
===<BR><BR>    # of expected passes 1620<BR>    # 
of unexpected failures         
136<BR>    # of unexpected successes     
    1<BR>    # of expected failures 
19<BR></FONT><FONT face="Courier New" size=2></DIV></FONT>
<DIV><FONT face=Arial size=2>Pritty rag tailed quite a few complaits and it also 
ended with errors.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>There are build instructions here :-</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>        <A 
href="http://www.aarongray.org/LLVM/BuildingLLVMonCygwin.html">http://www.aarongray.org/LLVM/BuildingLLVMonCygwin.html</A></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Be aware with these timing errors Cygwin is not a 
solid development or build platform at present.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Release build coming soon :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Regards,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Aaron</FONT></DIV>
<DIV><FONT face=Arial 
size=2></FONT> </DIV></DIV></FONT></DIV></BODY></HTML>