Alex Smirnov wrote:
Peter Vreman

Sorry for that, but, I think you are not right. So, when I try to make
some compilation using make file - it will be more faster :-)  - it will
NOT search system.ppu for 23 times. I can create make file for my
project and calculate the time needed to make all of it - both with
Lazarus IDE and with simple "make all"

There is a big difference with what the compiler needs to do and what you
want. See the 'my project' in your paragraph. This is not the case for the
compiler. The compiler needs to working in general for everybody. It can
be  that this is maybe not the optimimal issue for your specific
situation.

My situation is typical. I have typical and almost small project (658 lines to compile). And it takes Lazarus 111 sec. to compile this 658 lines! So it goes like 6 lines per second! :-) Extremely fast on my Pentium 2.8GHz with 2GB RAM! Also Lazarus tries to search something for 23669 times. And only for 383 times with successful result! 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

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to