<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18876">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Seems to be the same as "clang
--version".</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>If you run it, then run it again it gets quicker.
So to me that does suggest caching of DLL's or something like that.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Just compiled a version with .NET and running it is
instant, but isnt working as I want just yet. Might be the answer,
though.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The Cygwin version definitely is very slow to start
up.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=clattner@apple.com href="mailto:clattner@apple.com">Chris Lattner</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=james.boulton@eiconic.com
href="mailto:james.boulton@eiconic.com">James Boulton</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=cfe-commits@cs.uiuc.edu
href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, May 23, 2011 4:37 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cfe-commits] clang Cygwin
slow startup</DIV>
<DIV><BR></DIV>
<DIV>How fast is clang -cc1 -version?<BR><BR>
<DIV>-Chris</DIV></DIV>
<DIV><BR>On May 23, 2011, at 8:17 AM, James Boulton <<A
href="mailto:james.boulton@eiconic.com">james.boulton@eiconic.com</A>>
wrote:<BR><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE type="cite">
<DIV>
<DIV><FONT size=2 face=Arial>No, it's nothing that silly. It's configured
with --enable-optimised and says it's building as
release+asserts.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"
dir=ltr>
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=dgregor@apple.com href="mailto:dgregor@apple.com">Douglas
Gregor</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=james.boulton@eiconic.com
href="mailto:james.boulton@eiconic.com">James Boulton</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=cfe-commits@cs.uiuc.edu
href="mailto:cfe-commits@cs.uiuc.edu"><A
href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</A></A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, May 23, 2011 4:04
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [cfe-commits] clang
Cygwin slow startup</DIV>
<DIV><BR></DIV><BR>
<DIV>
<DIV>On May 23, 2011, at 7:43 AM, James Boulton wrote:</DIV><BR
class=Apple-interchange-newline>
<BLOCKQUOTE type="cite"><SPAN
style="WIDOWS: 2; TEXT-TRANSFORM: none; TEXT-INDENT: 0px; BORDER-COLLAPSE: separate; FONT: medium Helvetica; WHITE-SPACE: normal; ORPHANS: 2; LETTER-SPACING: normal; WORD-SPACING: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px"
class=Apple-style-span>
<DIV bgcolor="#ffffff">
<DIV><FONT size=2 face=Arial>Hi, I've just build the llvm setup on
cygwin and clang takes a long time to start up.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>For instance "clang --version" takes around
4-5 seconds before displaying the version info. This is the same for any
command issued to clang and it appears to be just how long it is taking
to load up the exe + dll's.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Is there anything I can do to speed this up
as it's currently unusably slow, but otherwise working
pefectly!</FONT></DIV>
<DIV><FONT size=2
face=Arial></FONT></DIV></DIV></SPAN></BLOCKQUOTE></DIV><BR>
<DIV>Try building in Release mode.</DIV>
<DIV><BR></DIV>
<DIV><SPAN style="WHITE-SPACE: pre" class=Apple-tab-span></SPAN>-
Doug</DIV></BLOCKQUOTE></DIV></BLOCKQUOTE>
<BLOCKQUOTE type="cite">
<DIV><SPAN>_______________________________________________</SPAN><BR><SPAN>cfe-commits
mailing list</SPAN><BR><SPAN><A
href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</A></SPAN><BR><SPAN><A
href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</A></SPAN><BR></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>