Comment 15 for bug 153386

Revision history for this message
Giorgio tani (giorgiotani) wrote :

Hi, topics about compiling and packing the application can be found in the readme in sources' package.
About compiling onb 64 bit issue, PeaZip uses this library http://home.netsurf.de/wolfgang.ehrhardt/index.html
which provides cryptographic, hash and crc functions: some parts are written in ASM for performance reasons, and only in some cases are available pure high level language counterparts.
I did not succeeded in compiling those ASM functions on 64 bit Lazarus/FreePascal compiler, they should either been rewritten to be fully compatible with x86-64 ASM or either rewritten in Object Pascal to ensure portability.
Otherwise, PeaZip needs ia32-libs as requirement to run on 64 bit systems, but of course I could not package such a big and complex library in the generic packages (not targeting a specific distribution/version) I provide in DEB, RPM and TGZ formats.

About PeaZip code being a bit messy, I know, one of the reason is that Lazarus/FPC is a relatively recent project and is being actively developed. When I started writing PeaZip 6 years ago the IDE was a lot different and PeaZip grew up finding its way in what that wonderful IDE was able to offer as it improved by Lazarus/FPC staff version after version.
They did a great work in developing a really astounding IDE as Lazarus is today, but of course working on what is itself a work in progress requires some workarounds, and version after version part of the development is finding non optimal code and find what Lazarus offers to make things better / simpler today.