[cfe-dev] ccc -g

David Chisnall csdavec at swansea.ac.uk
Wed Feb 4 04:25:07 PST 2009


I'm seeing some really strange behaviour with ccc and -g.

If -g is present twice, clang hard-errors (which is a problem since  
this happens a lot when makefiles do CFLAGS += -g and inherit -g from  
the environment.  It's very common with XCode too.)

If -g is present once, then clang runs but somehow fails.  The reason  
that this is very strange is that if I set CCC_ECHO and then copy the  
clang command the ccc claims to be executing... it works.

David



More information about the cfe-dev mailing list