On Tue, 6 Dec 2005, Peter Vreman wrote:

Checking changes is hard. Compiling it is the only to make sure that you
running the latest saved source.

Why not store the checksum of each source file of a project when compiling
and do a check before compilation to determine whether or not to compile
again. (Should need a similar check for the compiled unit to be safe).
Data should be stored in the project file.

The only reliable way is to implement exactly the same rules as the
compiler. Otherwise there will be a difference between what lazarus thinks
and what the compiler thinks. Result will be a lot of bug reports about
different behaviour of both products.

That would mean that Lazarus needs to process the .ppu files.
This will slow things down a lot, and eat a lot of memory.
The end result may well be almost as slow as recompiling,
at least on Linux.

The main problem is that the linking process is extremely slow on
windows. Compilation is fast enough.

It would be far better to spend time on implementing an internal linker
for FPC. FPC needs it, and Lazarus would obviously benefit from it as well.

Michael.

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

Reply via email to