[cfe-dev] PCRE compiles fines and passes the test suite :)

Steve Naroff snaroff at apple.com
Wed Jan 30 09:39:48 PST 2008


On Jan 30, 2008, at 8:57 AM, Nuno Lopes wrote:

> Hi,
>
> Just a quick note to tell you that PCRE 7.6 (latest version)  
> compiles fine
> with clang and the compiled binary passes the test suite as well.
>

Great news!

> ---
> compiler   | compile+link time | test suite run time | binary size
> gcc 4.1    |      17s          |       1.9s          |    43KB
> clang+llvm |    1m 13s         |       1.4s          |    188KB
> ---
>
> Although llvm is much slower at compiling (the linking part seems to  
> be
> really slow due to the -O2 optimizations), the binary produced is much
> faster :)
>

This doesn't makes sense to me. Are you using an optimized "release"  
version of clang?

If so, can you compile/measure with -fsyntax-only?

>
> Congratulations to everybody ;)
>

Ditto. Chris and I couldn't be happier with the way this community has  
pulled together.

snaroff

> Nuno
>
> P.S.: PHP still doesn't compile :S
> P.S.2.: why isn't LLVM deployed to replace gcc? isn't it capable to  
> act as a
> drop-in replacement for gcc with the gcc front-end (for now)?
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list