[fpc-pascal] bzip2 compression with FPC

Marco van de Voort marcov at stack.nl
Sat Oct 31 12:18:20 CET 2009


In our previous episode, Juha Manninen said:
> construction, then I will just wait.
> Otherwise I could try to port it myself somehow.

I think that is best.

Stuff like ULARGE_Integer is simply because JCL supports many Delphi
versions, and not all have unsigned integer. Therefore they use some
predefined windows struct for that.

Both are not really logical:
- FPC has qword (and later delphi's have uint64)
- using a windows header is not very portable.

JCL has made some attempts to accomodate FPC, but the problem is a bit that 
those are mostly fixes and ifdefs, not a decent restructure that clips
dependancies, and reduces the set of features and libraries they use.

E.g. their datetime routines use interface delegation meant for com:

http://bugs.freepascal.org/view.php?id=8951




More information about the fpc-pascal mailing list