Using GCC 4.2 to compile *.mm files is very very slow, but LLVM has done a very good job, any difference?
- by jianhua
My project is obj-c and C++ hybirid, filled with by both *.m and *.mm.
When compiling, if choose GCC 4.2, *.m obj-c source files compile speed is very fast but *.mm very very slow, but LLVM 2.0 can do a very good job, it is very fast for both *.m and *.mm.
My question:
Is there any difference between LLVM and GCC 4.2 during compliling *.mm files? why GCC 3.2 is so slow?
Any ieda or discussion will be appreciated, thanks in advance.
ENV: XCODE 4.0.1