Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> If gcc is producing a final binary that's twice the size of clang's, wouldn't that point to IO being a big factor in compile time?

Very possibly IO, yes.

And it is twice as big for a debug build, whereas a non-debug build is smaller in gcc - 69 MB vs 74 MB in clang.

Perhaps more importantly, not all debug builds are equal, so the comparison is not apples-to-apples without saying whether the gcc debug builds contain more useful information. gcc also has various levels of debug info, perhaps a different one would provide less info for a smaller binary that would be more of a parallel to clang.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: