At 20:16 15-1-2006, you wrote:
>
>
> On Sun, 15 Jan 2006, L505 wrote:
>
> > What do PPU files contain? symbolic links or hard links?
>
> They don't contain links at all.
> The accompagnying .o files contain symbolic links, as they are standard
> elf or pecode object files.
>
> Michael.
>
Ahh I see.. does microsoft visual studio create similar pecode object
files? I'm
thinking maybe one reason borland delphi compiler/linker is so fast is
because of
these hard links - but I'm no compiler guru yet. As for C++ Builder I'm
not sure,
I've heard it was slow compiler/linker.
Yes, delphi and tp7 are fast because it has an internal linker and the
dcu/tpu files contain everything needed to do incremental linking.
FPC is slower because it needs to write PPUs for its own and write .o files
for the linker. Then the linker is called as external program requiring
also program startup and it needs to read the .o file.
So in short: The only way to get a major speedup in linking is to have an
internal linker so the .o is not needed anymore and can be stored in the
ppu. But i don't have the time to code such an internal linker so don't
expect anything before 2007.
Peter
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives