[cfe-commits] clang Cygwin slow startup

Chris Lattner clattner at apple.com
Mon May 23 08:37:05 PDT 2011


How fast is clang -cc1 -version?

-Chris

On May 23, 2011, at 8:17 AM, James Boulton <james.boulton at eiconic.com> wrote:

> No, it's nothing that silly. It's configured with --enable-optimised and says it's building as release+asserts.
>  
>  
> ----- Original Message -----
> From: Douglas Gregor
> To: James Boulton
> Cc: cfe-commits at cs.uiuc.edu
> Sent: Monday, May 23, 2011 4:04 PM
> Subject: Re: [cfe-commits] clang Cygwin slow startup
> 
> 
> On May 23, 2011, at 7:43 AM, James Boulton wrote:
> 
>> Hi, I've just build the llvm setup on cygwin and clang takes a long time to start up.
>>  
>> 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.
>>  
>> Is there anything I can do to speed this up as      it's currently unusably slow, but otherwise working pefectly!
> 
> Try building in Release mode.
> 
> - Doug
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110523/55cf0a5c/attachment.html>


More information about the cfe-commits mailing list