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

Nuno Lopes nunoplopes at sapo.pt
Wed Jan 30 08:57:27 PST 2008


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.

---
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 :)


Congratulations to everybody ;)

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)? 




More information about the cfe-dev mailing list