This is the mail archive of the
mailing list for the GCC project.
Re: reduce compilation times?
On Nov 27, 2007 11:43 AM, Tom St Denis <email@example.com> wrote:
> This is why you should re-factor your code as to contain only one [or as
> few as possible] exportable functions per unit.
Just so I understand (and I realize that this would not be done), but
let's say that I have a machine that can compile extraordinarily
quickly, and compile time was not a factor. Is there a difference in
the speed of the resulting program when everything is split into many
object files instead of being combined into a single main.c, or is the
resulting binary identical bit for bit?