On Sun, 1 Oct 2006, Alex Smirnov wrote:
> Vincent Snijders
> >> Thus I think that all this 111 seconds is almost wasting time that
> >> was spent in FindFirst/FindNext circle.
> >
> > I think that is wrong.
> >
> > But you can test that by copying all the needed .ppu and .o files into
> > one directory and replace the -Fu lines for fpc.cfg with
> > -Fudirectory_with_all_needed_units.
> >
> > I think most time is spent creating the executable from the 383 units
> > it needs, getting code, data and debug sections from the 383 units and
> > putting it in the final executable.
> >
> > Vincent
>
> *Yes, You are right.*
>
> When I set Compiler Options -> Messages to "Show summary" only it takes
> 15 seconds to make all project and also to link it.
> Ok. But 15 seconds is also very large time. Sorry for that - I mean
> Delphi. It is faster in all cases. So I think it is a good idea to
> speedup compilation process. May be for Windows only - if you will set
> the file search process to be case insensitive it will decrease the
> quantity of requests in 4 times!
Maybe, but the linking process still takes the biggest time.
The external linker (ld) simply _is_ slow, and there is nothing
we can do about it.
Michael.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives