[cfe-commits] clang Cygwin slow startup

James Boulton james.boulton at eiconic.com
Tue May 24 04:44:35 PDT 2011


The windows version by default only builds the x86 target whereas the cygwin version build all targets. Nice and consistent... :o)

Built with arm and modified the arm assembler to accept CR/LF and now it's happy.

So if anyone else is having issues with the cygwin version of clang being very slow to startup, I'd recommend a native (well, MinGW) build and use that. It works very nicely and very quickly.

Thanks,
-- James


  ----- Original Message ----- 
  From: James Boulton 
  To: cfe-commits at cs.uiuc.edu 
  Sent: Monday, May 23, 2011 5:25 PM
  Subject: Re: [cfe-commits] clang Cygwin slow startup


  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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110524/4cf9ee49/attachment.html>


More information about the cfe-commits mailing list