<!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>This is invalidated as --enable-llvm switch was not
included on the LLVM-GCC4 configuration. AND LLVM-GCC4 will not compile with GCC
3.4.4 (under Cygwin). :(</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Aaron</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=angray@beeb.net href="mailto:angray@beeb.net">Aaron Gray</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=llvmdev@cs.uiuc.edu
href="mailto:llvmdev@cs.uiuc.edu">LLVM Developers Mailing List</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, February 28, 2007 1:10
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [LLVMdev] Building LLVM and
LLVM-GCC4 on Cygwin</DIV>
<DIV><BR></DIV>
<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>
<P>
<HR>
<P></P>_______________________________________________<BR>LLVM Developers
mailing
list<BR>LLVMdev@cs.uiuc.edu
http://llvm.cs.uiuc.edu<BR>http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev<BR>
<P>
<HR>
<P></P>No virus found in this incoming message.<BR>Checked by AVG Free
Edition.<BR>Version: 7.5.446 / Virus Database: 268.18.4/705 - Release Date:
27/02/2007 15:24<BR></BLOCKQUOTE></BODY></HTML>