Compilation speed with GCC (Developers)
> > Some (admitted only sideways) related info why gcc is fairly slow:
> >
> > (news://comp.compilers URLs)
> >
> > Disclaimer: yes those are posts by me.
>
> When searching through Google for GCC tips, I found those and already read
> 'em. Yes, we know, GCC ain't Delphi. And it's actually the tree RTL
> backend optimizer (or whatever) that now seems to be the main slowdown
> (the whole advantage of 4.x over 3.x). Try compiling with "-Q -v" if
> you're curious.
I included a header in a trivial program, and preprocessing was 50%. So this kinds of benchmarks depend heavily on how your headers are organized. (the notorious "one big header per project that includes everything necessary problem".)
Still it is an interesting option, I'll see if I can compile something like binutils that way.
> Anyways, speaking of faster compiles (even though it isn't DOS-oriented),
> there's always TCC (recently
> updated to 0.9.24 in April, but I didn't notice until today, go figure).
> The Win32 port is even smaller now! Granted, it's C only (and
> needs MSVCRT, blech), but it's still very cool.
I still work full time with Delphi. If something usuable beats that with an untweaked setup, let me know
Complete thread:
- Compilation speed with GCC - Rugxulo, 20.06.2008, 00:17 (Developers)
- Compilation speed with GCC - DOS386, 20.06.2008, 09:38
- Compilation speed with GCC - RayeR, 20.06.2008, 12:34
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:23
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:04
- Compilation speed with GCC - Japheth, 21.06.2008, 09:06
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:04
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:23
- Compilation speed with GCC - RayeR, 20.06.2008, 12:34
- Compilation speed with GCC - sol, 20.06.2008, 17:36
- Compilation speed with GCC - Rugxulo, 20.06.2008, 21:28
- Compilation speed with GCC - Rugxulo, 21.06.2008, 01:09
- Compilation speed with GCC - sol, 21.06.2008, 01:22
- Compilation speed with GCC - Rugxulo, 21.06.2008, 07:44
- Compilation speed with GCC - marcov, 21.06.2008, 14:07
- Compilation speed with GCC - sol, 21.06.2008, 01:22
- Compilation speed with GCC - marcov, 21.06.2008, 14:03
- Compilation speed with GCC - marcov, 21.06.2008, 14:10
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:16
- Compilation speed with GCC - marcov, 22.06.2008, 11:39
- Compilation speed with GCC - Rugxulo, 24.06.2008, 01:29
- Compilation speed with GCC - sol, 24.06.2008, 01:42
- Compilation speed with GCC - Rugxulo, 24.06.2008, 03:34
- Compilation speed with GCC - marcov, 24.06.2008, 09:27
- Compilation speed with GCC - Rugxulo, 24.06.2008, 01:29
- Compilation speed with GCC - marcov, 22.06.2008, 11:39
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:16
- Compilation speed with GCC - marcov, 21.06.2008, 14:13
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:06
- Compilation speed with GCC - marcov, 22.06.2008, 11:46
- Compilation speed with GCC - Rugxulo, 06.07.2008, 17:18
- Compilation speed with GCC - marcov, 09.07.2008, 18:11
- Compilation speed with GCC - Rugxulo, 06.07.2008, 17:18
- Compilation speed with GCC - marcov, 22.06.2008, 11:46
- Compilation speed with GCC - Rugxulo, 22.06.2008, 03:06
- Compilation speed with GCC - Rugxulo, 09.09.2008, 22:16
- Compilation speed with GCC - DOS386, 20.06.2008, 09:38