Hi, does anyone know why lazarus have a slow compilation?
Mailing lists / fpc-pascal / 2006-09
Slow compilation
6 messages · 4 people ·
- FFelipe Monteiro de Carvalho 2
- UUnknown author 2
- FFlávio Etrusco 1
- MMattias Gaertner 1
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi, does anyone know why lazarus have a slow compilation?
I suppose you are talking about windows, right?
Then it´s a faq:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_is_the_linking_so_slow_on_Windows.3F
Show quoted text 9 lines
Nope, i'm not used it on windows. I used it with Mandrake Linux 9.2.
Show quoted text 11 lines
What do you mean with slow?
The first time something is compiled, Linux has to load a lot from disk. Do you have enough ram?
For example:
Compiling a lazarus application the first time can take 6 seconds and the second time 1-2 seconds, including linking.
If you started Lazarus in a gnome terminal, then it will be slower.
Mattias
Nope, i'm not used it on windows. I used it with Mandrake Linux 9.2.
Nope, i'm not used it on windows. I used it with Mandrake Linux 9.2.
Then I find this strange. I use Mandriva 10.2 and the compilation is *very* fast.
What is the size of the software you are trying to compile? How much time does it take?
And what is your computer information? Such as RAM, cpu clock, etc
Well, "fast" is relative...
FPC is clearly slower than Delphi and Kylix compiler; I'd say it feels like Delphi is two or three time as fast as FPC.
OTOH, FPC is several times faster than Mono, gcc or MS VisualC. And I'd say it's on par with Sun's javacc...
-Flávio
