Extremely long compile times
Charles
qe@dabney.com
Mon Oct 21 13:40:00 GMT 2002
Thanks, much, John.
Moving the variables outside of "main" fixed the problem.
Thanks again.
Charles
On Mon, 21 Oct 2002 09:13:01 +1300 (NZDT) John Carter <john.carter@tait.co.nz> wrote:
> On Fri, 18 Oct 2002, Charles wrote:
>
> > I've tried this with both gcc 3.1.1 and gcc 3.2. This particular
> program
> > takes over 2 hours to compile.
>
...
> It could be that gcc is doing a linear search somewhere under the
> expectation that there aren't a huge number of local variables. Can you
> try break it up into smaller compilation units?
More information about the Gcc-help
mailing list