[cfe-commits] clang Cygwin slow startup
James Boulton
james.boulton at eiconic.com
Mon May 23 09:25:51 PDT 2011
Trying the windows route -- if I try the same command line which works under cygwin, I get this error:
error: unable to create target: 'No available targets are compatible with this triple, see -version for the available targets.'
Trying to compile with -ccc-host-triple arm-apple-darwin9. Both cygwin and windows version show more or less the same target information (ie. i686-pc-win32 and i386-pc-cygwin, both x86), and are compiled from the same code and configuration. So I dont believe it's the build which is at fault.
How are the triples registered? I have the appropriate compilers / library managers / etc setup, but cant figure out how to actually get the windows version to recognise them.
There is no documentation on this functionality and scant reference in the code to anything, so I really have no clue on this.
Any help on either matter much appreciated!
----- Original Message -----
From: Chris Lattner
To: James Boulton
Cc: cfe-commits at cs.uiuc.edu
Sent: Monday, May 23, 2011 4:37 PM
Subject: Re: [cfe-commits] clang Cygwin slow startup
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/a37af0cf/attachment.html>
More information about the cfe-commits
mailing list